org.jboss.resteasy.auth.oauth
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
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 © 2017. All Rights Reserved.