public class UnauthorizedException extends RuntimeException
OperationFailedRuntimeException
thrown when an operation is not authorized.Constructor and Description |
---|
UnauthorizedException(String message)
Constructs a
OperationFailedException with the given message. |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
getFailureDescription()
Get the detyped failure description.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public UnauthorizedException(String message)
OperationFailedException
with the given message.
The message is also used as the failure description
.
The cause is not initialized, and may
subsequently be initialized by a call to initCause
.message
- the description of the failure. Cannot be null
public org.jboss.dmr.ModelNode getFailureDescription()
getFailureDescription
in interface OperationClientException
null
Copyright © 2015 JBoss by Red Hat. All rights reserved.