|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.flatpack.DataError
public class DataError
This class holds errors that occurred while parsing or processing a data file.
Constructor Summary | |
---|---|
DataError(java.lang.String errorDesc,
int lineNo,
int errorLevel)
|
|
DataError(java.lang.String errorDesc,
int lineNo,
int errorLevel,
java.lang.String rawData)
|
Method Summary | |
---|---|
java.lang.String |
getErrorDesc()
Returns the errorDesc. |
int |
getErrorLevel()
Returns the errorLevel. |
int |
getLineNo()
Returns the lineNo. |
java.lang.String |
getRawData()
Option must be set on parser, otherwise this is null by default |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataError(java.lang.String errorDesc, int lineNo, int errorLevel)
errorDesc
- Text description of the error that occurredlineNo
- Line number in the data file the error occurred onerrorLevel
- Level of the error (1=warning, 2=moderate, 3=severe)public DataError(java.lang.String errorDesc, int lineNo, int errorLevel, java.lang.String rawData)
errorDesc
- Text description of the error that occurredlineNo
- Line number in the data file the error occurred onerrorLevel
- Level of the error (1=warning, 2=moderate, 3=severe)rawData
- String of data which the parse failed onMethod Detail |
---|
public java.lang.String getErrorDesc()
public int getErrorLevel()
public int getLineNo()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getRawData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |