Class CapabilityServiceSupport.NoSuchCapabilityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jboss.as.controller.capability.CapabilityServiceSupport.NoSuchCapabilityException
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- CapabilityServiceSupport
public static class CapabilityServiceSupport.NoSuchCapabilityException extends Exception
Exception thrown when support for an unregistered capability is requested. This is a checked exception becauseCapabilityServiceSupport
is used outside the management layer and the requirements for capability availability available inOperationContext
are not possible. So callers need to be aware of and handle non-existent capabilities.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchCapabilityException(String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoSuchCapabilityException
public NoSuchCapabilityException(String message)
-
-