Class DataAccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wso2.carbon.database.utils.jdbc.exceptions.DataAccessException
All Implemented Interfaces:
Serializable

public class DataAccessException extends Exception
The exception thrown when an error happens at the Data Access Layer. Carries the necessary information to the caller to handle the error effectively.
See Also:
  • Constructor Details

    • DataAccessException

      public DataAccessException()
    • DataAccessException

      public DataAccessException(String message)
    • DataAccessException

      public DataAccessException(String message, Throwable cause)
    • DataAccessException

      public DataAccessException(String message, String errorCode, Throwable cause)
    • DataAccessException

      public DataAccessException(Throwable cause)
    • DataAccessException

      public DataAccessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • Method Details

    • getErrorCode

      public String getErrorCode()
    • setErrorCode

      public void setErrorCode(String errorCode)