public class FBSQLException
extends java.sql.SQLException
| Constructor and Description | 
|---|
| FBSQLException(java.lang.Exception 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 withSQLException.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, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FBSQLException(java.lang.Exception 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-2024 Jaybird (Firebird JDBC) team. All rights reserved.