public class OAuthException extends Exception
| Constructor and Description |
|---|
OAuthException(int httpCode,
String message)
Builds a new OAuth exception which will result in sending the specified HTTP status code
to the Client.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpCode()
Returns the HTTP status code to return to the OAuth Client
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OAuthException(int httpCode,
String message)
httpCode - the HTTP status code to return to the OAuth Clientmessage - the message describing the problem, also returned to the OAuth ClientCopyright © 2018 JBoss by Red Hat. All rights reserved.