Class UnresolvableExtensionException

All Implemented Interfaces:
Serializable

public class UnresolvableExtensionException extends WorkflowRuntimeException
Runtime exception thrown when a workflow extension cannot be resolved by the ExtensionProvider. UnresolvableExtensionException is used to indicate that the workflow engine was unable to find or instantiate a required extension based on the provided type and value.

This exception extends WorkflowRuntimeException, making it an unchecked exception that indicates internal engine failures related to extension resolution. It is typically thrown when the ExtensionProvider cannot find a registered extension for the specified type and value, or when there are issues instantiating the extension class.

The exception includes both the name of the extension type and the ExtensionRegistration that failed, allowing for detailed error reporting and debugging.

Since:
1.0
See Also:
  • Constructor Details

    • UnresolvableExtensionException

      public UnresolvableExtensionException(String name, ExtensionRegistration registration)
      Creates a new UnresolvableExtensionException with the specified extension name and registration details.
      Parameters:
      name - the name of the extension type that could not be resolved
      registration - the extension registration that failed
  • Method Details

    • getName

      public String getName()
      Returns the name of the extension type that could not be resolved.
      Returns:
      the extension type name
    • getRegistration

      public ExtensionRegistration getRegistration()
      Returns the extension registration that failed.
      Returns:
      the failed extension registration