Class ResourceAvailableInAnotherContextException

  • All Implemented Interfaces:
    Serializable

    public class ResourceAvailableInAnotherContextException
    extends EntityAvailableInAnotherContextException
    Thrown when the requested Resource exists, but only in a Context other than the one scoping the request. Mapped to 403 Forbidden by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceAvailableInAnotherContextException

        public ResourceAvailableInAnotherContextException​(String message)
        Instantiates a new resource available in another context exception.
        Parameters:
        message - the message
      • ResourceAvailableInAnotherContextException

        public ResourceAvailableInAnotherContextException​(Throwable cause)
        Instantiates a new resource available in another context exception.
        Parameters:
        cause - the cause
      • ResourceAvailableInAnotherContextException

        public ResourceAvailableInAnotherContextException​(String message,
                                                          Throwable cause)
        Instantiates a new resource available in another context exception.
        Parameters:
        message - the message
        cause - the cause