public class FBSQLException
extends java.sql.SQLException
| Constructor and Description |
|---|
FBSQLException(java.lang.Exception ex) |
FBSQLException(GDSException ex) |
FBSQLException(javax.resource.ResourceException ex) |
FBSQLException(java.lang.String message) |
FBSQLException(java.lang.String message,
java.sql.SQLException ex)
Deprecated.
In all most all cases use
FBSQLException(String, String) in combination with
SQLException.setNextException(SQLException). |
FBSQLException(java.lang.String message,
java.lang.String sqlState) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
defaultSQLStateIfNull(java.lang.String sqlState) |
java.lang.Exception |
getInternalException()
Deprecated.
use
Throwable.getCause() instead. |
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionpublic FBSQLException(java.lang.Exception ex)
public FBSQLException(GDSException ex)
public FBSQLException(javax.resource.ResourceException ex)
public FBSQLException(java.lang.String message)
@Deprecated
public FBSQLException(java.lang.String message,
java.sql.SQLException ex)
FBSQLException(String, String) in combination with
SQLException.setNextException(SQLException).message - Exception messageex - SQLException that should be set as the 'next exception'public FBSQLException(java.lang.String message,
java.lang.String sqlState)
message - Exception messagesqlState - SQL State for this exception. Replaced with
SQLStateConstants.SQL_STATE_GENERAL_ERROR if null@Deprecated public java.lang.Exception getInternalException()
Throwable.getCause() instead.public static java.lang.String defaultSQLStateIfNull(java.lang.String sqlState)
sqlState - SQL State value (or null)SQLStateConstants.SQL_STATE_GENERAL_ERROR if sqlState is
null.Copyright © 2001-2023 Jaybird (Firebird JDBC/JCA) team. All rights reserved.