Class FailedSet

java.lang.Object
xyz.srnyx.annoyingapi.storage.FailedSet

public class FailedSet extends Object
Represents a failed set operation
  • Field Details

    • table

      @NotNull public final @NotNull String table
      The table that the set operation failed on
    • target

      @NotNull public final @NotNull String target
      The target that the set operation failed for
    • column

      @NotNull public final @NotNull String column
      The column that the set operation failed on
    • value

      @Nullable public final @Nullable String value
      The value that the set operation failed with
    • exception

      @Nullable public final @Nullable Throwable exception
      The exception that occurred while attempting to set the value
  • Constructor Details

    • FailedSet

      public FailedSet(@NotNull @NotNull String table, @NotNull @NotNull String target, @NotNull @NotNull String column, @Nullable @Nullable String value)
      Constructs a new failed set with the given table, target, column, and value
      Parameters:
      table - table
      target - target
      column - column
      value - value
    • FailedSet

      public FailedSet(@NotNull @NotNull String table, @NotNull @NotNull String target, @NotNull @NotNull String column, @Nullable @Nullable String value, @NotNull @NotNull Throwable exception)
      Constructs a new failed set with the given table, target, column, value, and exception
      Parameters:
      table - table
      target - target
      column - column
      value - value
      exception - exception