Package com.yworkflow.instance.error
Class InitializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yworkflow.common.error.WorkflowException
com.yworkflow.instance.error.InitializationException
- All Implemented Interfaces:
Serializable
Exception thrown when workflow instance initialization fails. InitializationException is used to
indicate that a workflow instance could not be properly initialized due to configuration errors,
missing dependencies, or other initialization problems.
This exception is typically thrown during the creation or startup of workflow instances when required resources are not available, configuration is invalid, or dependencies cannot be resolved.
InitializationException extends WorkflowException, making it a checked exception that must be handled by calling code.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new InitializationException with no detail message.InitializationException(String message) Creates a new InitializationException with the specified detail message.InitializationException(String message, Throwable cause) Creates a new InitializationException with the specified detail message and cause.InitializationException(Throwable cause) Creates a new InitializationException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InitializationException
public InitializationException()Creates a new InitializationException with no detail message. -
InitializationException
Creates a new InitializationException with the specified detail message.- Parameters:
message- the detail message
-
InitializationException
Creates a new InitializationException with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause of the exception
-
InitializationException
Creates a new InitializationException with the specified cause.- Parameters:
cause- the cause of the exception
-