|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.jmatchparser.util.csv.fieldreader.FieldReaderException
public class FieldReaderException
Thrown when a field has a value that cannot be parsed.
| Nested Class Summary | |
|---|---|
static class |
FieldReaderException.FieldReaderExceptionInfo<K,V>
Additional information about a field reader exception. |
| Constructor Summary | |
|---|---|
FieldReaderException(FieldReaderErrorCode errorCode,
boolean rawField,
FieldReaderException.FieldReaderExceptionInfo<?,?> exceptionInfo)
Create a new field reader exception. |
|
FieldReaderException(FieldReaderErrorCode errorCode,
boolean rawField,
FieldReaderException.FieldReaderExceptionInfo<?,?> exceptionInfo,
Throwable cause)
Create a new field reader exception. |
|
| Method Summary | |
|---|---|
FieldReaderErrorCode |
getErrorCode()
Return the error code of this exception. |
FieldReaderException.FieldReaderExceptionInfo<?,?> |
getExceptionInfo()
Return the exception info of this exception. |
boolean |
isRawField()
Return whether this exception occurred when the fields still were "raw" (i. e. not formatted). |
| 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 |
|---|
public FieldReaderException(FieldReaderErrorCode errorCode,
boolean rawField,
FieldReaderException.FieldReaderExceptionInfo<?,?> exceptionInfo)
errorCode - Error coderawField - Whether the field is still raw (like in the CSV layout) or
already formatted (in the layout the FieldReader
creates)exceptionInfo - Information about the field and its value
public FieldReaderException(FieldReaderErrorCode errorCode,
boolean rawField,
FieldReaderException.FieldReaderExceptionInfo<?,?> exceptionInfo,
Throwable cause)
errorCode - Error coderawField - Whether the field is still raw (like in the CSV layout) or
already formatted (in the layout the FieldReader
creates)exceptionInfo - Information about the field and its value| Method Detail |
|---|
public FieldReaderErrorCode getErrorCode()
public boolean isRawField()
public FieldReaderException.FieldReaderExceptionInfo<?,?> getExceptionInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||