Package com.highdeal.pnr.tif
Class ITransactionField.InvalidValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.highdeal.pnr.tif.ITransactionField.BadFieldException
com.highdeal.pnr.tif.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 Summary
ConstructorsConstructorDescriptionInvalidValueException(ITransactionField<?> origin, Class<?> expectedType, String value, String... expectedValue) Constructs anInvalidTypeFieldExceptionwith atransaction fieldand the field name. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidValueException
public InvalidValueException(ITransactionField<?> origin, Class<?> expectedType, String value, String... expectedValue) Constructs anInvalidTypeFieldExceptionwith atransaction fieldand the field name.- Parameters:
origin- Thetransaction fieldthat has generated this exceptionexpectedType- Theclassof the expected typevalue- The provided valueexpectedValue- The provided value
-