public final class RedirectingException
extends javax.ws.rs.WebApplicationException
| Constructor and Description |
|---|
RedirectingException(Throwable cause,
URI redirect,
ClientType clientType)
Create a new RedirectingException for a provided exception, including
the redirect to which the details should be sent.
|
| Modifier and Type | Method and Description |
|---|---|
ClientType |
getClientType()
Return the client type that threw this exception.
|
URI |
getRedirect()
Return the provided redirect.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RedirectingException(Throwable cause, URI redirect, ClientType clientType)
cause - The cause.redirect - The redirect.clientType - The client type.public URI getRedirect()
public ClientType getClientType()
Copyright © 2018 krotscheck.net. All rights reserved.