Class ContextualOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nl.pim16aap2.util.exceptions.ContextualOperationException
- All Implemented Interfaces:
Serializable
An exception that can be used to add context to exceptions.
This exception can be used to add context to exceptions. This is useful when you want to add context to exceptions that are thrown in a chain of operations. For example, when you have a chain of operations that all throw exceptions, you can use this exception to add context to the exceptions thrown by the operations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContextualOperationException(String message) ContextualOperationException(String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ContextualOperationException
public ContextualOperationException() -
ContextualOperationException
-
ContextualOperationException
-
ContextualOperationException
-