Package com.yworkflow.instance.store
Class WorkflowInstanceStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.yworkflow.common.error.WorkflowRuntimeException
com.yworkflow.instance.store.WorkflowInstanceStoreException
- All Implemented Interfaces:
Serializable
Runtime exception thrown when workflow instance store operations fail.
WorkflowInstanceStoreException is used to indicate that there was an error persisting or
retrieving workflow instance data from the underlying storage system.
This exception extends WorkflowRuntimeException, making it an unchecked exception that indicates internal engine failures related to data persistence. It is typically thrown when database operations fail, serialization/deserialization errors occur, or other storage-related issues prevent the workflow engine from functioning properly.
WorkflowInstanceStoreException should not be used for business logic errors or user input validation failures. For those cases, use checked exceptions that extend WorkflowException instead.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new WorkflowInstanceStoreException with the specified detail message.Creates a new WorkflowInstanceStoreException with the specified detail message and cause.Creates a new WorkflowInstanceStoreException 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
-
WorkflowInstanceStoreException
Creates a new WorkflowInstanceStoreException with the specified detail message.- Parameters:
s- the detail message explaining the store operation failure
-
WorkflowInstanceStoreException
Creates a new WorkflowInstanceStoreException with the specified detail message and cause.- Parameters:
s- the detail message explaining the store operation failureex- the underlying cause of this store exception
-
WorkflowInstanceStoreException
Creates a new WorkflowInstanceStoreException with the specified cause.- Parameters:
ex- the underlying cause of this store exception
-