|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.websphere.exception.DistributedException
com.ibm.websphere.command.CommandException
com.ibm.websphere.command.UnauthorizedAccessException
public class UnauthorizedAccessException
UnauthorizedAccessException is thrown when attempting to execute a command without access authorization.
Field Summary |
---|
Fields inherited from class com.ibm.websphere.command.CommandException |
---|
throwable |
Constructor Summary | |
---|---|
UnauthorizedAccessException()
Constructor without parameters. |
|
UnauthorizedAccessException(java.lang.String message)
Constructor with a message. |
|
UnauthorizedAccessException(java.lang.String resourceBundleName,
java.lang.String resourceKey,
java.lang.Object[] formatArguments,
java.lang.String defaultText)
Constructor with information for localizing messages. |
|
UnauthorizedAccessException(java.lang.String resourceBundleName,
java.lang.String resourceKey,
java.lang.Object[] formatArguments,
java.lang.String defaultText,
java.lang.Throwable exception)
Constructor with information for localizing messages and an exception to chain. |
Method Summary |
---|
Methods inherited from class com.ibm.websphere.command.CommandException |
---|
getException |
Methods inherited from class com.ibm.websphere.exception.DistributedException |
---|
getException, getExceptionInfo, getMessage, getOriginalException, getPreviousException, printStackTrace, printStackTrace, printStackTrace, printSuperStackTrace, printSuperStackTrace, setDefaultMessage, setLocalizationInfo |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnauthorizedAccessException()
public UnauthorizedAccessException(java.lang.String message)
message
- A string describing the exception.public UnauthorizedAccessException(java.lang.String resourceBundleName, java.lang.String resourceKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
resourceBundleName
- The name of resource bundle
that will be used to retrieve the message
for getMessage() method.resourceKey
- The key in the resource bundle that
will be used to select the specific message that is
retrieved for the getMessage() method.formatArguments
- The arguments to be passed to
the MessageFormat class to act as replacement variables
in the message that is retrieved from the resource bundle.
Valid types are those supported by MessageFormat.defaultText
- The default message that will be
used by the getMessage() method if the resource bundle or the
key cannot be found.public UnauthorizedAccessException(java.lang.String resourceBundleName, java.lang.String resourceKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
resourceBundleName
- The name of resource bundle
that will be used to retrieve the message
for getMessage() method.resourceKey
- The key in the resource bundle that
will be used to select the specific message
retrieved for the getMessage() method.formatArguments
- The arguments to be passed to
the MessageFormat class to act as replacement variables
in the message that is retrieved from the resource bundle.
Valid types are those supported by MessageFormat.defaultText
- The default message that will be
used by the getMessage() method if the resource bundle or the
key cannot be found.exception
- The exception that is to be chained.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |