Package org.jboss.as.controller.registry
Class Resource.NoSuchResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.NoSuchElementException
org.jboss.as.controller.registry.Resource.NoSuchResourceException
- All Implemented Interfaces:
Serializable,OperationClientException
- Direct Known Subclasses:
ResourceNotAddressableException
- Enclosing interface:
- Resource
public static class Resource.NoSuchResourceException
extends NoSuchElementException
implements OperationClientException
A
NoSuchElementException variant that can be thrown by Resource.requireChild(PathElement) and
Resource.navigate(PathAddress) implementations to indicate a client error when invoking a
management operation.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoSuchResourceException(String message) NoSuchResourceException(PathElement childPath) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.dmr.ModelNodeGet the detyped failure description.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
NoSuchResourceException
-
NoSuchResourceException
-
-
Method Details
-
getFailureDescription
public org.jboss.dmr.ModelNode getFailureDescription()Description copied from interface:OperationClientExceptionGet the detyped failure description.- Specified by:
getFailureDescriptionin interfaceOperationClientException- Returns:
- the description. Will not be
null
-
toString
-