Class UnresolvableExtensionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.yworkflow.common.error.WorkflowRuntimeException
com.yworkflow.definition.model.extension.error.UnresolvableExtensionException
- All Implemented Interfaces:
Serializable
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.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnresolvableExtensionException(String name, ExtensionRegistration registration) Creates a new UnresolvableExtensionException with the specified extension name and registration details. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of the extension type that could not be resolved.Returns the extension registration that failed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnresolvableExtensionException
Creates a new UnresolvableExtensionException with the specified extension name and registration details.- Parameters:
name- the name of the extension type that could not be resolvedregistration- the extension registration that failed
-
-
Method Details
-
getName
Returns the name of the extension type that could not be resolved.- Returns:
- the extension type name
-
getRegistration
Returns the extension registration that failed.- Returns:
- the failed extension registration
-