Package org.firebirdsql.jdbc
Class FBSQLExceptionInfo
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- org.firebirdsql.jdbc.FBSQLExceptionInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.lang.Throwable>
public class FBSQLExceptionInfo extends java.sql.SQLException
Subclass of SQLException whose only purpose is to preserve the information provided by the status vector when an exception is created usingFbExceptionBuilder.toFlatSQLException()
.Instances of this exception have an empty stack trace.
Objects of this type are chained using the
SQLException.setNextException(java.sql.SQLException)
facility. Further information can be obtained by iterating over this object, or by usingSQLException.getNextException()
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FBSQLExceptionInfo(java.lang.String reason, java.lang.String SQLState, int vendorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-