com.java4less.ocr.docparser
Class SectionMissingException

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

public class SectionMissingException
extends DocParseException

Mandatory section missing in the document

See Also:
Serialized Form

Constructor Summary
SectionMissingException(java.lang.String sectionName)
           
 
Method Summary
 java.lang.String getErrorName()
           
 java.lang.String getFieldName()
          returns ""
 int getRepetition()
          returns -1
 java.lang.String getSectionName()
          return the name of the missing section
 
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

SectionMissingException

public SectionMissingException(java.lang.String sectionName)
Method Detail

getErrorName

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

getSectionName

public java.lang.String getSectionName()
return the name of the missing section

Overrides:
getSectionName in class DocParseException

getFieldName

public java.lang.String getFieldName()
returns ""

Overrides:
getFieldName in class DocParseException

getRepetition

public int getRepetition()
returns -1

Overrides:
getRepetition in class DocParseException