Package com.jbstrap.core.dao.exception
Class RemoveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jbstrap.core.dao.exception.RemoveException
- All Implemented Interfaces:
Serializable
Data remove exception
- Since:
- 4.0
- Author:
- JBStrap
- See Also:
-
Constructor Summary
ConstructorDescriptionRemoveException
(String exceptionMessageKey, Object... args) Exception thrown when encountering an error during the removal process.RemoveException
(String exceptionMessageKey, Throwable e, Object... args) Exception thrown when encountering an error during the removal process. -
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
-
RemoveException
Exception thrown when encountering an error during the removal process. The error message based on the message parameters and message key.- Parameters:
exceptionMessageKey
- The error message key, which is a message source keyargs
- Error message parameters (message source message arguments)
-
RemoveException
Exception thrown when encountering an error during the removal process. 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 keye
- The original exceptionargs
- Error message parameters (message source message arguments)
-
-
Method Details
-
getExceptionMessageKey
Gets the exception message source key- Returns:
- The exception message key
-