com.java4less.ocr.docparser
Class FieldMissingException

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.FieldMissingException
All Implemented Interfaces:
java.io.Serializable

public class FieldMissingException
extends DocParseException

Mandatory field missing in the section

See Also:
Serialized Form

Constructor Summary
FieldMissingException(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

FieldMissingException

public FieldMissingException(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