All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContextCreationException, ContextLifecycleException, ContextMoveException, ContextVisibilityException

public class ContextException extends ResourceRegistryException
Base exception for Context-domain error conditions that do not fall under ContextLifecycleException or ContextVisibilityException (e.g. a generic hierarchy-consistency or persistence failure while creating, moving, or updating a Context). Mapped to 400 Bad Request by the REST layer.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • ContextException

      public ContextException(String message)
      Instantiates a new context exception.
      Parameters:
      message - the message
    • ContextException

      public ContextException(Throwable cause)
      Instantiates a new context exception.
      Parameters:
      cause - the cause
    • ContextException

      public ContextException(String message, Throwable cause)
      Instantiates a new context exception.
      Parameters:
      message - the message
      cause - the cause