org.hsqldb
Class HsqlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hsqldb.HsqlException
- All Implemented Interfaces:
- Serializable
- public class HsqlException
- extends Exception
Class encapsulating all exceptions that can be thrown within the engine.
Instances are used to create instances of java.sql.SQLException and returned
to JDBC callers.
- Since:
- 1.7.2
- Version:
- 1.7.2
- Author:
- fredt@users
- See Also:
- Serialized Form
HsqlException
public HsqlException(String message,
String state,
int code)
- Parameters:
message
- Stringstate
- XOPEN / SQL code for exceptoincode
- number code in HSQLDB
HsqlException
public HsqlException(Result r)
- Parameters:
r
- containing the members
getMessage
public String getMessage()
- Returns:
- message
getSQLState
public String getSQLState()
- Returns:
- SQL State
getErrorCode
public int getErrorCode()
- Returns:
- vendor specific error code
Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.