org.sqlite.jdbc
Class JdbcSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.sqlite.jdbc.JdbcSQLException
- All Implemented Interfaces:
- java.io.Serializable
public class JdbcSQLException
- extends java.sql.SQLException
- See Also:
- Serialized Form
Method Summary |
static java.lang.String |
getSQLState(int errcode)
Convert SQLite result codes to SQL/99 SQLSTATE codes. |
Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JdbcSQLException
public JdbcSQLException(int resultCode)
JdbcSQLException
public JdbcSQLException(java.lang.String reason,
int vendorCode)
JdbcSQLException
public JdbcSQLException(int resultCode,
SWIGTYPE_p_sqlite3 db)
JdbcSQLException
public JdbcSQLException(int resultCode,
SWIGTYPE_p_sqlite3_stmt stmt)
getSQLState
public static java.lang.String getSQLState(int errcode)
- Convert SQLite result codes to SQL/99 SQLSTATE codes.
- Parameters:
errcode
- SQLite Result Codes
- Returns:
- SQL/99 SQLSTATE codes.
- See Also:
- Result Codes