org.sadun.text.ffp
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sadun.text.ffp.FFPParseException
org.sadun.text.ffp.FieldRelatedFFPParseException
org.sadun.text.ffp.ValidationException
- All Implemented Interfaces:
- java.io.Serializable
- public class ValidationException
- extends org.sadun.text.ffp.FieldRelatedFFPParseException
An exception raised if a field value does not match its declared type.
- Author:
- Cristiano Sadun
- See Also:
- Serialized Form
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 |
ValidationException
public ValidationException(java.lang.CharSequence line,
LineFormat.FieldInfo info,
java.lang.String value)
- Parameters:
info
- value
-
getExpectedFieldEnd
public int getExpectedFieldEnd()
- Returns:
getExpectedFieldImage
public java.lang.String getExpectedFieldImage()
- Returns:
getExpectedFieldName
public java.lang.String getExpectedFieldName()
- Returns:
getExpectedFieldStart
public int getExpectedFieldStart()
- Returns:
getExpectedFieldType
public Type getExpectedFieldType()
- Returns: