Class ContextualOperationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nl.pim16aap2.util.exceptions.ContextualOperationException
All Implemented Interfaces:
Serializable

public final class ContextualOperationException extends RuntimeException
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 Details

    • ContextualOperationException

      public ContextualOperationException()
    • ContextualOperationException

      public ContextualOperationException(String message)
    • ContextualOperationException

      public ContextualOperationException(Throwable cause)
    • ContextualOperationException

      public ContextualOperationException(String message, Throwable cause)