@Deprecated public class AtomNotAuthorizedException extends AtomException
AtomHandler
implementations in the case that a user is not
authorized to access a resource.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Deprecated.
|
Constructor and Description |
---|
AtomNotAuthorizedException()
Deprecated.
Construct new exception
|
AtomNotAuthorizedException(java.lang.String msg)
Deprecated.
Construct new exception with message
|
AtomNotAuthorizedException(java.lang.String msg,
java.lang.Throwable t)
Deprecated.
Construct new exception with message and root cause
|
AtomNotAuthorizedException(java.lang.Throwable t)
Deprecated.
Construct new exception to wrap root cause
|
Modifier and Type | Method and Description |
---|---|
int |
getStatus()
Deprecated.
Get HTTP status code of exception (HTTP 403 unauthorized)
|
private static final long serialVersionUID
public AtomNotAuthorizedException()
public AtomNotAuthorizedException(java.lang.String msg)
public AtomNotAuthorizedException(java.lang.String msg, java.lang.Throwable t)
public AtomNotAuthorizedException(java.lang.Throwable t)
public int getStatus()
getStatus
in class AtomException