Class ContextNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class ContextNotFoundException
    extends NotFoundException
    Thrown when the Context identified by the given UUID (or the @current literal) does not exist, or is not visible to the caller under the requested lifecycle scope (live/deleted/all). Mapped to 404 Not Found by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextNotFoundException

        public ContextNotFoundException​(String message)
        Instantiates a new context not found exception.
        Parameters:
        message - the message
      • ContextNotFoundException

        public ContextNotFoundException​(Throwable cause)
        Instantiates a new context not found exception.
        Parameters:
        cause - the cause
      • ContextNotFoundException

        public ContextNotFoundException​(String message,
                                        Throwable cause)
        Instantiates a new context not found exception.
        Parameters:
        message - the message
        cause - the cause