com.java4less.ocr.docparser
Class FieldFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.java4less.ocr.docparser.DocParseException
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
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 |
FieldFormatException
public FieldFormatException(java.lang.String sectionName,
java.lang.String f,
int r)
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