@Deprecated public class AtomNotAuthorizedException extends AtomException
AtomHandler
implementations in the case that a user is not
authorized to access a resource.Constructor and Description |
---|
AtomNotAuthorizedException()
Deprecated.
Construct new exception
|
AtomNotAuthorizedException(String msg)
Deprecated.
Construct new exception with message
|
AtomNotAuthorizedException(String msg,
Throwable t)
Deprecated.
Construct new exception with message and root cause
|
AtomNotAuthorizedException(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)
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AtomNotAuthorizedException()
public AtomNotAuthorizedException(String msg)
public AtomNotAuthorizedException(String msg, Throwable t)
public AtomNotAuthorizedException(Throwable t)
public int getStatus()
getStatus
in class AtomException
Copyright © 2020. All rights reserved.