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
ANoSuchElementException
variant 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.ModelNode
getFailureDescription()
Get the detyped failure description.String
toString()
-
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:OperationClientException
Get the detyped failure description.- Specified by:
getFailureDescription
in interfaceOperationClientException
- Returns:
- the description. Will not be
null
-
-