public class FBSQLException extends SQLException
Constructor and Description |
---|
FBSQLException(Exception ex) |
FBSQLException(GDSException ex) |
FBSQLException(javax.resource.ResourceException ex) |
FBSQLException(String message) |
FBSQLException(String message,
SQLException ex)
Deprecated.
In all most all cases use
FBSQLException(String, String) in combination with
SQLException.setNextException(SQLException) . |
FBSQLException(String message,
String sqlState) |
Modifier and Type | Method and Description |
---|---|
static String |
defaultSQLStateIfNull(String sqlState) |
Exception |
getInternalException()
Deprecated.
use
Throwable.getCause() instead. |
getErrorCode, getNextException, getSQLState, iterator, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public FBSQLException(Exception ex)
public FBSQLException(GDSException ex)
public FBSQLException(javax.resource.ResourceException ex)
public FBSQLException(String message)
@Deprecated public FBSQLException(String message, 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(String message, String sqlState)
message
- Exception messagesqlState
- SQL State for this exception. Replaced with
SQLStateConstants.SQL_STATE_GENERAL_ERROR
if null@Deprecated public Exception getInternalException()
Throwable.getCause()
instead.public static String defaultSQLStateIfNull(String sqlState)
sqlState
- SQL State value (or null)SQLStateConstants.SQL_STATE_GENERAL_ERROR
if sqlState is
null.Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.