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
ANoSuchElementExceptionvariant that can be thrown byResource.requireChild(PathElement)andResource.navigate(PathAddress)implementations to indicate a client error when invoking a management operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchResourceException(String message)NoSuchResourceException(PathElement childPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.dmr.ModelNodegetFailureDescription()Get the detyped failure description.StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
NoSuchResourceException
public NoSuchResourceException(PathElement childPath)
-
NoSuchResourceException
public NoSuchResourceException(String message)
-
-
Method Detail
-
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
-
-