Package com.jbstrap.core.dao.exception
Class DataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jbstrap.core.dao.exception.DataAccessException
- All Implemented Interfaces:
Serializable
Data access exception. It's thrown when an error is encountered during the data access check.
- Since:
- 4.0
- Author:
- JBStrap
- See Also:
-
Constructor Summary
ConstructorDescriptionDataAccessException
(String exceptionMessageKey, Object... args) Throws the exception when an error is encountered during the data access check. -
Method Summary
Modifier and TypeMethodDescriptionGets the exception message source keyMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataAccessException
Throws the exception when an error is encountered during the data access check. The error message based on the message parameters and message key.- Parameters:
exceptionMessageKey
- The exception message source keyargs
- Error message parameters (message source message arguments)
-
-
Method Details
-
getExceptionMessageKey
Gets the exception message source key- Returns:
- The exception message key
-