|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jboss.resteasy.auth.oauth.OAuthException
public class OAuthException
Use this exception to throw exceptions from your OAuthProvider to specify the HTTP status code
| Constructor Summary | |
|---|---|
OAuthException(int httpCode,
java.lang.String message)
Builds a new OAuth exception which will result in sending the specified HTTP status code to the Client. |
|
| Method Summary | |
|---|---|
int |
getHttpCode()
Returns the HTTP status code to return to the OAuth Client |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthException(int httpCode,
java.lang.String message)
httpCode - the HTTP status code to return to the OAuth Clientmessage - the message describing the problem, also returned to the OAuth Client| Method Detail |
|---|
public int getHttpCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||