wt.access
Class InvalidPermissionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bywt.access.AccessControlException
                  extended bywt.access.InvalidPermissionException
All Implemented Interfaces:
LocalizableMessage, Message, Serializable

public class InvalidPermissionException
extends AccessControlException
implements Serializable

This exception (InvalidPermissionException) is used when reference is made to a non-existent permission. This exception is used only internally and signals a programming error.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
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
InvalidPermissionException()
          No argument constructor.
InvalidPermissionException(Exception e)
          Constructor that takes and exception, a resource bundle, a key and additional parameters to use in the localized message.
InvalidPermissionException(Exception e, String msg)
          Constructor that takes an execption as argument.
InvalidPermissionException(Exception e, String rb, String key, Object[] params)
          Constructor that takes a non-localized message and an exeption as argument.
InvalidPermissionException(String msg)
          Constructor that takes a non-localized message as argument.
 
Methods inherited from class wt.util.WTException
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString
 
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

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

InvalidPermissionException

public InvalidPermissionException()
No argument constructor.

Supported API: false


InvalidPermissionException

public InvalidPermissionException(String msg)
Constructor that takes a non-localized message as argument.

Supported API: false

Parameters:
msg -

InvalidPermissionException

public InvalidPermissionException(Exception e,
                                  String msg)
Constructor that takes an execption as argument. Exception can be retrieved using getNestedException method.

Supported API: false

Parameters:
e -
msg -

InvalidPermissionException

public InvalidPermissionException(Exception e,
                                  String rb,
                                  String key,
                                  Object[] params)
Constructor that takes a non-localized message and an exeption as argument.

Supported API: false

Parameters:
e -
rb -
key -
params -

InvalidPermissionException

public InvalidPermissionException(Exception e)
Constructor that takes and exception, a resource bundle, a key and additional parameters to use in the localized message.

Supported API: false

Parameters:
e -