Class IsRelatedToAvailableInAnotherContextException

  • All Implemented Interfaces:
    Serializable

    public class IsRelatedToAvailableInAnotherContextException
    extends RelationAvailableInAnotherContextException
    Thrown when the requested IsRelatedTo 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

      • IsRelatedToAvailableInAnotherContextException

        public IsRelatedToAvailableInAnotherContextException​(String message)
        Instantiates a new checks if is related to available in another context exception.
        Parameters:
        message - the message
      • IsRelatedToAvailableInAnotherContextException

        public IsRelatedToAvailableInAnotherContextException​(Throwable cause)
        Instantiates a new checks if is related to available in another context exception.
        Parameters:
        cause - the cause
      • IsRelatedToAvailableInAnotherContextException

        public IsRelatedToAvailableInAnotherContextException​(String message,
                                                             Throwable cause)
        Instantiates a new checks if is related to available in another context exception.
        Parameters:
        message - the message
        cause - the cause