public static final class ITransactionField.InvalidTypeFieldException extends ITransactionField.BadFieldException
transaction field does not contain a value with defined expected type.| Constructor and Description |
|---|
InvalidTypeFieldException(ITransactionField<?> origin,
java.lang.String name,
java.lang.Class<?> expectedType,
java.lang.Class<?> givenType)
Constructs an
InvalidTypeFieldException with a transaction field and the field name. |
public InvalidTypeFieldException(ITransactionField<?> origin, java.lang.String name, java.lang.Class<?> expectedType, java.lang.Class<?> givenType)
InvalidTypeFieldException with a transaction field and the field name.origin - The transaction field that has generated this exceptionname - The field name which type is invalidexpectedType - The class of the expected typegivenType - The class of the given type, that does not match the expected one