Class WorkflowSoftErrorDescriptor
java.lang.Object
de.xima.fc.mdl.workflow.WorkflowSoftErrorDescriptor
- All Implemented Interfaces:
IWorkflowSoftErrorDescriptor
public final class WorkflowSoftErrorDescriptor
extends Object
implements IWorkflowSoftErrorDescriptor
POJO implementation of
IWorkflowSoftErrorDescriptor.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowSoftErrorDescriptor(String message, Throwable cause, Consumer<IUnionValueBuilder> errorValue) -
Method Summary
-
Constructor Details
-
WorkflowSoftErrorDescriptor
public WorkflowSoftErrorDescriptor(String message, Throwable cause, Consumer<IUnionValueBuilder> errorValue) - Parameters:
message- Message providing more details about the error.cause- The exception that caused the soft error. May benullwhen not caused by any exception.errorValue- Function that takes a value builder to create the error value.
-
-
Method Details
-
getCause
- Specified by:
getCausein interfaceIWorkflowSoftErrorDescriptor- Returns:
- The exception that caused the soft error. May be
nullwhen not caused by any exception.
-
getErrorValue
- Specified by:
getErrorValuein interfaceIWorkflowSoftErrorDescriptor- Returns:
- Function that takes a value builder to create the error value.
-
getMessage
- Specified by:
getMessagein interfaceIWorkflowSoftErrorDescriptor- Returns:
- Message providing more details about the error.
-