public class AtomNotAuthorizedException extends AtomException
AtomHandler
implementations in the case that a user is not
authorized to access a resource.Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
int |
getStatus()
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 © 2017. All rights reserved.