Copyright (C) 2003,2004 dr. Cristiano Sadun

org.sadun.text.ffp
Class ValidationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.sadun.text.ffp.FFPParseException
              extended byorg.sadun.text.ffp.FieldRelatedFFPParseException
                  extended byorg.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

Constructor Summary
ValidationException(java.lang.CharSequence line, LineFormat.FieldInfo info, java.lang.String value)
           
 
Method Summary
 int getExpectedFieldEnd()
           
 java.lang.String getExpectedFieldImage()
           
 java.lang.String getExpectedFieldName()
           
 int getExpectedFieldStart()
           
 Type getExpectedFieldType()
           
 
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

ValidationException

public ValidationException(java.lang.CharSequence line,
                           LineFormat.FieldInfo info,
                           java.lang.String value)
Parameters:
info -
value -
Method Detail

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:

Copyright (C) 2003,2004 dr. Cristiano Sadun