public static class ExpressionResolver.ExpressionResolutionUserException extends RuntimeException implements OperationClientException
ExpressionResolverExtension
not being able to resolve the expression.
This class implements OperationClientException, so if it is thrown during
execution of an OperationStepHandler, the management kernel will properly
handle the exception as a user mistake, not a server fault.
Note: this should only be thrown if the ExpressionResolverExtension is
sure the expression string is meant to be resolved by itself. Do not throw this in situations
where this is unclear.
Note: this should only be thrown to report problems resulting from user
errors. Use ExpressionResolverExtension.ExpressionResolutionServerException to report faults in
ExpressionResolverExtension.resolveExpression(String, OperationContext) execution that
are not due to user inputs.
| Constructor and Description |
|---|
ExpressionResolutionUserException(String msg) |
ExpressionResolutionUserException(String msg,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
getFailureDescription()
Get the detyped failure description.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ExpressionResolutionUserException(String msg)
public org.jboss.dmr.ModelNode getFailureDescription()
OperationClientExceptiongetFailureDescription in interface OperationClientExceptionnullCopyright © 2022 JBoss by Red Hat. All rights reserved.