|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
wt.util.WTException
wt.access.AccessControlException
wt.access.NotAuthorizedException
public class NotAuthorizedException
Thrown in situations where a user lacks sufficient access rights to carry out an action on a specific object or some other type of authorization error occurs.
Whenever the exception results in a failure of the user action, an
AccessControlEvent.NOT_AUTHORIZED audit event must also
be emitted.
Supported API: true
Extendable: false
AccessControlEvent#NOT_AUTHORIZED,
AccessControlManager.emitAccessEvent(String, Object, AccessPermission,
WTMessage),
AccessControlServerHelper.disableNotAuthorizedAudit(),
AccessControlServerHelper.reenableNotAuthorizedAudit(),
Serialized Form| Constructor Summary | |
|---|---|
NotAuthorizedException()
No argument constructor. |
|
NotAuthorizedException(Exception e)
Constructor that takes an execption as argument. |
|
NotAuthorizedException(Exception e,
String msg)
Constructor that takes a non-localized message and an exeption as argument. |
|
NotAuthorizedException(Exception e,
String rb,
String key,
Object[] params)
Constructor that takes and exception, a resource bundle, a key and additional parameters to use in the localized message. |
|
NotAuthorizedException(String msg)
Constructor that takes a non-localized message as argument. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NotAuthorizedException()
public NotAuthorizedException(String msg)
msg - public NotAuthorizedException(Exception e)
e -
public NotAuthorizedException(Exception e,
String msg)
e - msg -
public NotAuthorizedException(Exception e,
String rb,
String key,
Object[] params)
e - rb - key - params -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||