Class FBSQLExceptionInfo

  • All Implemented Interfaces:, 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 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:
    Serialized Form
    • Constructor Summary

      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • FBSQLExceptionInfo

        public FBSQLExceptionInfo​(java.lang.String reason,
                                  java.lang.String SQLState,
                                  int vendorCode)
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        fillInStackTrace in class java.lang.Throwable