com.highdeal.pnr.tif
Class ITransactionField.InvalidValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.highdeal.pnr.tif.ITransactionField.BadFieldException
              extended by com.highdeal.pnr.tif.ITransactionField.InvalidValueException
All Implemented Interfaces:
java.io.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:
Serialized Form

Constructor Summary
ITransactionField.InvalidValueException(ITransactionField<?> origin, java.lang.Class<?> expectedType, java.lang.String value, java.lang.String... expectedValue)
          Constructs an InvalidTypeFieldException with a transaction field and the field name.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ITransactionField.InvalidValueException

public ITransactionField.InvalidValueException(ITransactionField<?> origin,
                                               java.lang.Class<?> expectedType,
                                               java.lang.String value,
                                               java.lang.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

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)