public class OAuthException extends RuntimeException
Response.Status#BAD_REQUEST or
Response.Status#UNAUTHORIZED.| Modifier and Type | Field and Description |
|---|---|
javax.ws.rs.core.Response.Status |
status |
String |
wwwAuthHeader |
| Constructor and Description |
|---|
OAuthException(javax.ws.rs.core.Response.Status status,
String wwwAuthHeader) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse()
Maps this exception to a response object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2016 Oracle Corporation. All rights reserved.