Class ConsistsOfAvailableInAnotherContextException

  • All Implemented Interfaces:
    Serializable

    public class ConsistsOfAvailableInAnotherContextException
    extends RelationAvailableInAnotherContextException
    Thrown when the requested ConsistsOf relation 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

      • ConsistsOfAvailableInAnotherContextException

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

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

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