SQLDataException
Represents a database exception.
Methods |
|
JdbcSQLDataException(String message, String sql, String state, int errorCode, Throwable cause, String stackTrace)
Creates a SQLDataException.
|
|
JdbcSQLDataException(String message, String sql, String state, int errorCode, Throwable cause, String stackTrace)
Creates a SQLDataException.
Parameters:
message - the reason
sql - the SQL statement
state - the SQL state
errorCode - the error code
cause - the exception that was the reason for this exception
stackTrace - the stack trace
|
String |
getMessage()
|
String |
getMessage()
|
String |
getOriginalMessage()
|
String |
getOriginalMessage()
|
String |
getSQL()
|
String |
getSQL()
|
void |
printStackTrace(PrintWriter s)
|
void |
printStackTrace(PrintWriter s)
|
void |
printStackTrace(PrintStream s)
|
void |
printStackTrace(PrintStream s)
|
void |
setSQL(String sql)
|
void |
setSQL(String sql)
|
String |
toString()
|
String |
toString()
|
|