Class CancelRequestHandlingException

  • All Implemented Interfaces:

    public class CancelRequestHandlingException
    extends RuntimeException
    Signals that the request dispatching to the current method is cancelled, and that Stapler should resume the search for the next request dispatcher and dispatch the request accordingly.

    This is useful in conjunction with StaplerOverridable to delegate requests selectively to original object after examining the request, or in a request handling method like doXyz() method to then fall back to getDynamic() or anything else.

    Kohsuke Kawaguchi
    See Also:
    Serialized Form
    • Constructor Detail

      • CancelRequestHandlingException

        public CancelRequestHandlingException()