Class ContextMoveException

  • All Implemented Interfaces:
    Serializable

    public class ContextMoveException
    extends ContextException
    Thrown when moving (reparenting) a Context fails for a reason other than the lifecycle state-machine checks covered by ContextLifecycleException (e.g. a persistence error while recomputing descendant path/effectiveState). Mapped to 400 Bad Request by the REST layer. Not currently thrown by the server implementation, which reports reparent failures via ContextLifecycleException or ContextException.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextMoveException

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

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

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