Class DatabaseException

    • Constructor Detail

      • DatabaseException

        protected DatabaseException​(String message,
                                    int errorCode,
                                    String sqlState)
      • DatabaseException

        public DatabaseException​(String message,
                                 int errorCode,
                                 String sqlState,
                                 SQLException cause)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Database specific error code.
        Returns:
        the error code
      • getSqlState

        public String getSqlState()
        SQL State (XOPEN or SQL:2003 conventions).
        Returns:
        the SQL state if known or null