|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException magoffin.matt.ma2.AuthorizationException
public class AuthorizationException
Exception thrown when authorization fails.
Nested Class Summary | |
---|---|
static class |
AuthorizationException.Reason
Authorization exception reason. |
Constructor Summary | |
---|---|
AuthorizationException(java.lang.String login,
AuthorizationException.Reason reason)
Construct authorization exception. |
Method Summary | |
---|---|
java.lang.String |
getLogin()
Get the attempted login. |
AuthorizationException.Reason |
getReason()
Get the authorization exception reason. |
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 AuthorizationException(java.lang.String login, AuthorizationException.Reason reason)
login
- the attempted loginreason
- the reason for the exceptionMethod Detail |
---|
public java.lang.String getLogin()
public AuthorizationException.Reason getReason()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |