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:
java.io.Serializable
public final class RequestDeniedException extends java.lang.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)
Constructs a new instance of this class with a detail message that contains theURI
of theRequest
that was denied.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Request
request()
Returns theRequest
that was denied.
-