Class ContextLifecycleException

  • All Implemented Interfaces:
    Serializable

    public class ContextLifecycleException
    extends ContextException
    Thrown when an operation violates Context lifecycle state machine transitions or tree hierarchy rules (e.g. renaming/reparenting a Context whose state is ACTIVE). Mapped to 409 Conflict by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextLifecycleException

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

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

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