# Exception This interface contains additional methods for database exceptions.
Methods
int | getErrorCode() Returns the H2-specific error code.
int | getErrorCode() Returns the H2-specific error code. Returns: the H2-specific error code
String | getSQL() Returns the SQL statement.
String | getSQL() Returns the SQL statement. SQL statements that contain '--hide--' are not listed. Returns: the SQL statement
String | toString() Returns the class name, the message, and in the server mode, the stack trace of the server
String | toString() Returns the class name, the message, and in the server mode, the stack trace of the server Returns: the string representation