Package org.kohsuke.stapler
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 likedoXyz()
method to then fall back togetDynamic()
or anything else.- Since:
- 1.210
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CancelRequestHandlingException()
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-