Class UncheckedSQLException

All Implemented Interfaces:
Serializable

public class UncheckedSQLException extends UncheckedException
Since:
0.8
Author:
Haiyang Li
See Also:
  • Constructor Details

    • UncheckedSQLException

      public UncheckedSQLException(SQLException cause)
      Constructor for UncheckedSQLException.
      Parameters:
      cause -
    • UncheckedSQLException

      public UncheckedSQLException(String errorMsg, SQLException cause)
      Constructor for UncheckedSQLException.
      Parameters:
      errorMsg -
      cause -
  • Method Details

    • getSQLState

      public String getSQLState()
      Returns:
      String
    • getErrorCode

      public int getErrorCode()
      Returns:
      int
    • getCause

      public SQLException getCause()
      Returns the cause of this exception.
      Overrides:
      getCause in class UncheckedException
      Returns:
      the SQLException which is the cause of this exception.