Class SQLException

    • Constructor Summary

      Constructors 
      Constructor Description
      SQLException()  
      SQLException​(java.lang.String reason)  
      SQLException​(java.lang.String reason, java.lang.String sqlState)  
      SQLException​(java.lang.String reason, java.lang.String sqlState, int errorCode)  
      SQLException​(java.lang.String reason, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()  
      SQLException getNextException()  
      java.lang.String getSQLState()  
      void setNextException​(SQLException ex)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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
    • Constructor Detail

      • SQLException

        public SQLException​(java.lang.String reason,
                            java.lang.String sqlState,
                            int errorCode)
      • SQLException

        public SQLException​(java.lang.String reason,
                            java.lang.String sqlState)
      • SQLException

        public SQLException​(java.lang.String reason,
                            java.lang.Throwable cause)
      • SQLException

        public SQLException​(java.lang.String reason)
      • SQLException

        public SQLException()
    • Method Detail

      • getSQLState

        public java.lang.String getSQLState()
      • getErrorCode

        public int getErrorCode()
      • setNextException

        public void setNextException​(SQLException ex)