|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception net.sourceforge.jdbcimporter.MalformedDataException
The MalformedDataException exception indicates that one or more column values for the given row is cannot be imported.
Constructor Summary | |
MalformedDataException(java.lang.String msg)
Constructs a MalformedDataException with no column identified. |
|
MalformedDataException(java.lang.String msg,
java.lang.Exception e)
Constructs a MalformedDataException with no column indicated. |
|
MalformedDataException(java.lang.String msg,
int newColumn)
Constructs a MalformedDataException for the given column index. |
|
MalformedDataException(java.lang.String msg,
int newColumn,
java.lang.Exception e)
Constructs a MalformedDataException for the given column index and a wrapped exception. |
|
MalformedDataException(java.lang.String msg,
java.lang.String row,
java.lang.Exception e)
Constructs a MalformedDataException for the given column index and a wrapped exception. |
Method Summary | |
int |
getColumn()
Returns the index of the column that caused the exception. |
java.lang.String |
getRow()
Returns the row that caused the exception. |
void |
printStackTrace()
Overrides printStackTrace(). |
void |
printStackTrace(java.io.PrintStream stream)
Overrides printStackTrace(PrintStream). |
void |
setRow(java.lang.String row)
Sets the row that caused the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MalformedDataException(java.lang.String msg)
msg
- the exception messagepublic MalformedDataException(java.lang.String msg, int newColumn)
msg
- the exception messagenewColumn
- the column indexpublic MalformedDataException(java.lang.String msg, java.lang.Exception e)
msg
- the exception messagee
- the wrapped exceptionpublic MalformedDataException(java.lang.String msg, int newColumn, java.lang.Exception e)
msg
- the exception messagenewColumn
- the column indexe
- the wrapped exceptionpublic MalformedDataException(java.lang.String msg, java.lang.String row, java.lang.Exception e)
msg
- the exception messagerow
- the rowe
- the wrapped exceptionMethod Detail |
public void printStackTrace()
public void printStackTrace(java.io.PrintStream stream)
public int getColumn()
public java.lang.String getRow()
public void setRow(java.lang.String row)
row
- the string representation of the row
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |