Class ContextCreationException

  • All Implemented Interfaces:
    Serializable

    public class ContextCreationException
    extends ContextException
    Thrown when a generic, non-conflict failure occurs while creating a Context (e.g. an underlying persistence error). Mapped to 400 Bad Request by the REST layer. Not currently thrown by the server implementation, which reports Context creation failures via ContextException or ContextAlreadyPresentException.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextCreationException

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

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

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