Package com.yahoo.jdisc.handler
Class RequestDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.yahoo.jdisc.handler.RequestDeniedException
-
- All Implemented Interfaces:
Serializable
public final class RequestDeniedException extends RuntimeException
This exception is used to signal that a
Request
was rejected by the correspondingClientProvider
orRequestHandler
. There is no automation in throwing an instance of this class, but all RequestHandlers are encouraged to use this where appropriate.- Author:
- Simon Thoresen Hult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestDeniedException(Request request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Request
request()
Returns theRequest
that was denied.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-