org.firebirdsql.jdbc
Class FBSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.firebirdsql.jdbc.FBSQLException
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<java.lang.Throwable>
- Direct Known Subclasses:
- FBDriverConsistencyCheckException, FBDriverNotCapableException, FBMissingParameterException, FBResultSetNotUpdatableException, FBSQLParseException, ObjectCloseTraceException
public class FBSQLException
- extends java.sql.SQLException
- Author:
- Ken Richard
- See Also:
- Serialized Form
Methods inherited from class java.sql.SQLException |
getNextException, getSQLState, iterator, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SQL_STATE_INVALID_CONN_ATTR
public static final java.lang.String SQL_STATE_INVALID_CONN_ATTR
- See Also:
- Constant Field Values
SQL_STATE_NO_ROW_AVAIL
public static final java.lang.String SQL_STATE_NO_ROW_AVAIL
- See Also:
- Constant Field Values
SQL_STATE_GENERAL_ERROR
public static final java.lang.String SQL_STATE_GENERAL_ERROR
- See Also:
- Constant Field Values
SQL_STATE_INVALID_COLUMN
public static final java.lang.String SQL_STATE_INVALID_COLUMN
- See Also:
- Constant Field Values
SQL_STATE_INVALID_PARAM_TYPE
public static final java.lang.String SQL_STATE_INVALID_PARAM_TYPE
- See Also:
- Constant Field Values
SQL_STATE_INVALID_ARG_VALUE
public static final java.lang.String SQL_STATE_INVALID_ARG_VALUE
- See Also:
- Constant Field Values
SQL_STATE_WRONG_PARAM_NUM
public static final java.lang.String SQL_STATE_WRONG_PARAM_NUM
- See Also:
- Constant Field Values
SQL_STATE_NO_RESULT_SET
public static final java.lang.String SQL_STATE_NO_RESULT_SET
- See Also:
- Constant Field Values
SQL_STATE_INVALID_CONVERSION
public static final java.lang.String SQL_STATE_INVALID_CONVERSION
- See Also:
- Constant Field Values
SQL_STATE_CONNECTION_CLOSED
public static final java.lang.String SQL_STATE_CONNECTION_CLOSED
- See Also:
- Constant Field Values
SQL_STATE_CONNECTION_FAILURE_IN_TX
public static final java.lang.String SQL_STATE_CONNECTION_FAILURE_IN_TX
- See Also:
- Constant Field Values
SQL_STATE_COMM_LINK_FAILURE
public static final java.lang.String SQL_STATE_COMM_LINK_FAILURE
- See Also:
- Constant Field Values
FBSQLException
public FBSQLException(java.lang.Exception ex)
FBSQLException
public FBSQLException(java.io.IOException ioex)
FBSQLException
public FBSQLException(GDSException ex)
FBSQLException
public FBSQLException(javax.resource.ResourceException ex)
FBSQLException
public FBSQLException(java.lang.String message)
FBSQLException
public FBSQLException(java.lang.String message,
java.sql.SQLException ex)
FBSQLException
public FBSQLException(java.lang.String message,
java.lang.String sqlState)
getErrorCode
public int getErrorCode()
- Overrides:
getErrorCode
in class java.sql.SQLException
getInternalException
public java.lang.Exception getInternalException()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTrace
in class java.lang.Throwable
Copyright © 2001 David Jencks and other authors. All rights reserved.