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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataAccessException()DataAccessException(String message)DataAccessException(String message, String errorCode, Throwable cause)DataAccessException(String message, Throwable cause)DataAccessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)DataAccessException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()voidsetErrorCode(String errorCode)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-