org.sqlite.jdbc
Class JdbcSQLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by org.sqlite.jdbc.JdbcSQLException
All Implemented Interfaces:
java.io.Serializable

public class JdbcSQLException
extends java.sql.SQLException

See Also:
Serialized Form

Constructor Summary
JdbcSQLException(int resultCode)
           
JdbcSQLException(int resultCode, SWIGTYPE_p_sqlite3_stmt stmt)
           
JdbcSQLException(int resultCode, SWIGTYPE_p_sqlite3 db)
           
JdbcSQLException(java.lang.String reason, int vendorCode)
           
 
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
 

Constructor Detail

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)
Method Detail

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