| java.lang.Object java.lang.Throwable java.lang.Exception java.sql.SQLException org.h2.jdbc.JdbcSQLException
JdbcSQLException | public class JdbcSQLException extends SQLException (Code) | | Represents a database exception.
|
JdbcSQLException | public JdbcSQLException(String message, String sql, String state, int errorCode, Throwable cause, String trace)(Code) | | Creates a SQLException a message, sqlstate and cause.
Parameters: message - the reason Parameters: state - the SQL state Parameters: cause - the exception that was the reason for this exception |
getMessage | public String getMessage()(Code) | | Get the detail error message.
the message |
getOriginalMessage | public String getOriginalMessage()(Code) | | INTERNAL
|
getSQL | public String getSQL()(Code) | | Returns the SQL statement.
the SQL statement |
printStackTrace | public void printStackTrace()(Code) | | Prints the stack trace to the standard error stream.
|
printStackTrace | public void printStackTrace(PrintWriter s)(Code) | | Prints the stack trace to the specified print writer.
Parameters: s - the print writer |
printStackTrace | public void printStackTrace(PrintStream s)(Code) | | Prints the stack trace to the specified print stream.
Parameters: s - the print stream |
toString | public String toString()(Code) | | Returns the class name, the message, and in the server mode, the stack
trace of the server
the string representation |
|
|