Documentation of 'org.hsqldb.HsqlException' Java class
HsqlException
org.hsqldb

Class HsqlException

  • All Implemented Interfaces:
    java.io.Serializable


    public class HsqlException
    extends java.lang.RuntimeException
    Class encapsulating all exceptions that can be thrown within the engine. Instances are used to create instances of java.sql.SQLException and returned to JDBC callers.
    Since:
    1.7.2
    See Also:
    Serialized Form
    • Field Detail

      • noDataCondition

        public static final HsqlException noDataCondition
      • info

        public java.lang.Object info
    • Constructor Detail

      • HsqlException

        public HsqlException(java.lang.Throwable t,
                             java.lang.String message,
                             java.lang.String state,
                             int code)
        Parameters:
        message - String
        state - XOPEN / SQL code for exception
        code - number code in HSQLDB
      • HsqlException

        public HsqlException(Result r)
        Parameters:
        r - containing the members
      • HsqlException

        public HsqlException(java.lang.Throwable t,
                             java.lang.String errorState,
                             int errorCode)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        message
      • setMessage

        public void setMessage(java.lang.String message)
      • getSQLState

        public java.lang.String getSQLState()
        Returns:
        SQL State
      • getErrorCode

        public int getErrorCode()
        Returns:
        vendor specific error code
      • setLevel

        public void setLevel(int level)
      • getLevel

        public int getLevel()
      • getStatementCode

        public int getStatementCode()
      • setStatementType

        public void setStatementType(int group,
                                     int code)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.