org.firebirdsql.jdbc

Class FBSQLException

Known Direct Subclasses:
FBDriverConsistencyCheckException, FBDriverNotCapableException, FBMissingParameterException, FBResultSetNotUpdatableException, FBSQLParseException, ObjectCloseTraceException

public class FBSQLException
extends SQLException

Author:
Ken Richard

Field Summary

static String
SQL_STATE_COMM_LINK_FAILURE
static String
SQL_STATE_CONNECTION_CLOSED
static String
SQL_STATE_CONNECTION_FAILURE_IN_TX
static String
SQL_STATE_GENERAL_ERROR
static String
SQL_STATE_INVALID_ARG_VALUE
static String
SQL_STATE_INVALID_COLUMN
static String
SQL_STATE_INVALID_CONN_ATTR
static String
SQL_STATE_INVALID_CONVERSION
static String
SQL_STATE_INVALID_PARAM_TYPE
static String
SQL_STATE_NO_RESULT_SET
static String
SQL_STATE_NO_ROW_AVAIL
static String
SQL_STATE_WRONG_PARAM_NUM

Constructor Summary

FBSQLException(Exception ex)
FBSQLException(IOException ioex)
FBSQLException(ResourceException ex)
FBSQLException(String message)
FBSQLException(String message, SQLException ex)
FBSQLException(String message, String sqlState)
FBSQLException(GDSException ex)

Method Summary

int
getErrorCode()
Exception
getInternalException()
String
getMessage()
void
printStackTrace()
void
printStackTrace(PrintStream s)
void
printStackTrace(PrintWriter s)

Field Details

SQL_STATE_COMM_LINK_FAILURE

public static final String SQL_STATE_COMM_LINK_FAILURE

SQL_STATE_CONNECTION_CLOSED

public static final String SQL_STATE_CONNECTION_CLOSED

SQL_STATE_CONNECTION_FAILURE_IN_TX

public static final String SQL_STATE_CONNECTION_FAILURE_IN_TX

SQL_STATE_GENERAL_ERROR

public static final String SQL_STATE_GENERAL_ERROR

SQL_STATE_INVALID_ARG_VALUE

public static final String SQL_STATE_INVALID_ARG_VALUE

SQL_STATE_INVALID_COLUMN

public static final String SQL_STATE_INVALID_COLUMN

SQL_STATE_INVALID_CONN_ATTR

public static final String SQL_STATE_INVALID_CONN_ATTR

SQL_STATE_INVALID_CONVERSION

public static final String SQL_STATE_INVALID_CONVERSION

SQL_STATE_INVALID_PARAM_TYPE

public static final String SQL_STATE_INVALID_PARAM_TYPE

SQL_STATE_NO_RESULT_SET

public static final String SQL_STATE_NO_RESULT_SET

SQL_STATE_NO_ROW_AVAIL

public static final String SQL_STATE_NO_ROW_AVAIL

SQL_STATE_WRONG_PARAM_NUM

public static final String SQL_STATE_WRONG_PARAM_NUM

Constructor Details

FBSQLException

public FBSQLException(Exception ex)

FBSQLException

public FBSQLException(IOException ioex)

FBSQLException

public FBSQLException(ResourceException ex)

FBSQLException

public FBSQLException(String message)

FBSQLException

public FBSQLException(String message,
                      SQLException ex)

FBSQLException

public FBSQLException(String message,
                      String sqlState)

FBSQLException

public FBSQLException(GDSException ex)

Method Details

getErrorCode

public int getErrorCode()

getInternalException

public Exception getInternalException()

getMessage

public String getMessage()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)

Copyright B) 2001 David Jencks and other authors. All rights reserved.