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 because CapabilityServiceSupport is used outside the management layer and the requirements for capability availability available in OperationContext are not possible. So callers need to be aware of and handle non-existent capabilities.
See Also:
  • Constructor Details

    • NoSuchCapabilityException

      public NoSuchCapabilityException(String message)