|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.univocity.parsers.common.TextWritingException
public class TextWritingException
Exception type used provide information about any issue that might happen while writing to a given output.
It generally provides location and data information in case of a writing failure.
Constructor Summary | |
---|---|
TextWritingException(String message)
|
|
TextWritingException(String message,
int line,
Object[] row)
|
|
TextWritingException(String message,
int recordCount,
Object[] row,
Throwable cause)
|
|
TextWritingException(String message,
int line,
String recordCharacters)
|
|
TextWritingException(String message,
int recordCount,
String recordCharacters,
Throwable cause)
|
|
TextWritingException(Throwable cause)
|
Method Summary | |
---|---|
String |
getMessage()
|
String |
getRecordCharacters()
Returns the character data that failed to be written |
int |
getRecordCount()
Returns the number of records written before the exception occurred. |
Object[] |
getRecordData()
Returns the data that failed to be written |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 TextWritingException(String message, int recordCount, String recordCharacters, Throwable cause)
public TextWritingException(String message, int recordCount, Object[] row, Throwable cause)
public TextWritingException(String message)
public TextWritingException(Throwable cause)
public TextWritingException(String message, int line, Object[] row)
public TextWritingException(String message, int line, String recordCharacters)
Method Detail |
---|
public String getMessage()
getMessage
in class Throwable
public int getRecordCount()
public Object[] getRecordData()
public String getRecordCharacters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |