public final class RequestDeniedException extends RuntimeException
This exception is used to signal that a Request
was rejected by the corresponding ClientProvider
or RequestHandler
. There is no automation in throwing an instance of this class, but all RequestHandlers are
encouraged to use this where appropriate.
Constructor and Description |
---|
RequestDeniedException(Request request)
|
Modifier and Type | Method and Description |
---|---|
Request |
request()
Returns the
Request that was denied. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private final Request request
Copyright © 2017. All rights reserved.