Class CancelRequestHandlingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kohsuke.stapler.CancelRequestHandlingException
All Implemented Interfaces:
Serializable

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.

Since:
1.210
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • CancelRequestHandlingException

      public CancelRequestHandlingException()