|
|||||||||||
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
The NotAuthorizedException exception is to be thrown in situations in
which the user lacks sufficient privileges to carry out an action on
a specific object.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private WTArrayList |
objectIdentifiers
|
private static String |
RESOURCE
|
Fields inherited from class wt.util.WTException |
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
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 | |
WTArrayList |
getObjectIdentifiers()
Gets the value of the attribute: objectIdentifiers; ObjectIdentifier
of inaccessible objects, for which read access is authorized
Supported API: false |
protected void |
setObjectIdentifiers(WTArrayList a_ObjectIdentifiers)
Sets the value of the attribute: objectIdentifiers; ObjectIdentifier
of inaccessible objects, for which read access is authorized
Supported API: false |
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 |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private WTArrayList objectIdentifiers
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
- Method Detail |
public WTArrayList getObjectIdentifiers()
ObjectIdentifier
of inaccessible objects, for which read access is authorized
protected void setObjectIdentifiers(WTArrayList a_ObjectIdentifiers)
ObjectIdentifier
of inaccessible objects, for which read access is authorized
a_ObjectIdentifiers
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |