Class PreDestroyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bobocode.bring.core.exception.PreDestroyException
- All Implemented Interfaces:
Serializable
Exception thrown when method annotated with @PreDestroy violates rules of usage such as have parameters.
Extends RuntimeException.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPreDestroyException
(Throwable cause) Constructs a PreDestroyException with the specified message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
PRE_DESTROY_EXCEPTION_MESSAGE
- See Also:
-
-
Constructor Details
-
PreDestroyException
Constructs a PreDestroyException with the specified message.- Parameters:
cause
- The Throwable cause for this exception
-