Class ITransactionField.InvalidValueException

All Implemented Interfaces:
Serializable
Enclosing interface:
ITransactionField<E>

public static final class ITransactionField.InvalidValueException extends ITransactionField.BadFieldException
Exception thrown when a transaction field does not contain a value that is compatible with this field.
See Also:
  • Constructor Details

    • InvalidValueException

      public InvalidValueException(ITransactionField<?> origin, Class<?> expectedType, String value, String... expectedValue)
      Constructs an InvalidTypeFieldException with a transaction field and the field name.
      Parameters:
      origin - The transaction field that has generated this exception
      expectedType - The class of the expected type
      value - The provided value
      expectedValue - The provided value