|
||||||||||
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 org.rometools.propono.atom.server.AtomException org.rometools.propono.atom.server.AtomNotAuthorizedException
public class AtomNotAuthorizedException
Exception to be thrown by AtomHandler
implementations in the
case that a user is not authorized to access a resource.
Constructor Summary | |
---|---|
AtomNotAuthorizedException()
Construct new exception |
|
AtomNotAuthorizedException(String msg)
Construct new exception with message |
|
AtomNotAuthorizedException(String msg,
Throwable t)
Construct new exception with message and root cause |
|
AtomNotAuthorizedException(Throwable t)
Construct new exception to wrap root cause |
Method Summary | |
---|---|
int |
getStatus()
Get HTTP status code of exception (HTTP 403 unauthorized) |
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 AtomNotAuthorizedException()
public AtomNotAuthorizedException(String msg)
public AtomNotAuthorizedException(String msg, Throwable t)
public AtomNotAuthorizedException(Throwable t)
Method Detail |
---|
public int getStatus()
getStatus
in class AtomException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |