Package com.jbstrap.core.dao.exception
Class ConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jbstrap.core.dao.exception.ConnectionException
- All Implemented Interfaces:
Serializable
Exception that can occur during the commit/rollBack database operation
- Since:
- 4.0
- Author:
- JBStrap
- See Also:
-
Constructor Summary
ConstructorDescriptionConnectionException
(String exceptionMessageKey, Object... args) Throws a connection exception. -
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
-
ConnectionException
Throws a connection exception. The database connection error is thrown, when an error is encountered during the commit/rollback. The error message is created, based on the message parameters and the message key. The stack trace originates from the error that is specified in the parameter.- Parameters:
exceptionMessageKey
- The error message key, which is a message source keyargs
- Error message parameters (message source message arguments)
-
-
Method Details
-
getExceptionMessageKey
Gets the exception message source key- Returns:
- The exception message key
-