com.java4less.ocr.docparser
Class FieldFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.java4less.ocr.docparser.DocParseException
              extended by com.java4less.ocr.docparser.FieldFormatException
All Implemented Interfaces:
java.io.Serializable

public class FieldFormatException
extends DocParseException

Error in the format of the value read

See Also:
Serialized Form

Constructor Summary
FieldFormatException(java.lang.String sectionName, java.lang.String f, int r)
           
 
Method Summary
 java.lang.String getErrorName()
           
 java.lang.String getFieldName()
          name of the missing field
 int getRepetition()
          get repetition of the section
 java.lang.String getSectionName()
          name of the section where the field is located
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldFormatException

public FieldFormatException(java.lang.String sectionName,
                            java.lang.String f,
                            int r)
Method Detail

getErrorName

public java.lang.String getErrorName()
Overrides:
getErrorName in class DocParseException

getSectionName

public java.lang.String getSectionName()
name of the section where the field is located

Overrides:
getSectionName in class DocParseException

getFieldName

public java.lang.String getFieldName()
name of the missing field

Overrides:
getFieldName in class DocParseException

getRepetition

public int getRepetition()
get repetition of the section

Overrides:
getRepetition in class DocParseException