Package com.yahoo.jdisc.handler
Class OverloadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.yahoo.jdisc.handler.OverloadException
- All Implemented Interfaces:
Serializable
An exception to signal abort current action, as the container is overloaded.
Just unroll state as cheaply as possible.
The contract of OverloadException is:
- You must set the response yourself first, or you'll get an internal server error.
- You must throw it from handleRequest synchronously.
- Author:
- Steinar Knutsen
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OverloadException
-