Class FBSQLExceptionInfo

All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class FBSQLExceptionInfo extends SQLException
Subclass of SQLException whose only purpose is to preserve the information provided by the status vector when an exception is created using FbExceptionBuilder.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 using SQLException.getNextException().

See Also:
  • Constructor Details

    • FBSQLExceptionInfo

      public FBSQLExceptionInfo(String reason, String sqlState, int vendorCode)
  • Method Details