java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.firebirdsql.gds.GDSException
- All Implemented Interfaces:
Serializable,Iterable<Throwable>
Deprecated, for removal: This API element is subject to removal in a future version.
Use a normal SQLException or subclass, this class may be removed in Jaybird 7 or later
A GDS-specific exception
NOTE: This class is only retained for some compatibility with older implementations of
GDSFactoryPlugin
which previously declared throws GDSException for some of its getDatabasePath methods.
- Author:
- Mark Rotteveel
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGDSException(int fbErrorCode) Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance.GDSException(int fbErrorCode, Throwable cause) Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance.GDSException(String message) Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance with only a simple message. -
Method Summary
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GDSException
public GDSException(int fbErrorCode) Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance.- Parameters:
fbErrorCode- Firebird error code, one of the constants declared inISCConstants
-
GDSException
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance.- Parameters:
fbErrorCode- Firebird error code, one of the constants declared inISCConstantscause- Cause of this exception
-
GDSException
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance with only a simple message.- Parameters:
message- Message for the new exception
-