Package de.xima.fc.mdl.workflow
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 ofIWorkflowSoftErrorDescriptor.- Since:
 - 8.2.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description WorkflowSoftErrorDescriptor(String message, Throwable cause, Consumer<IUnionValueBuilder<String>> errorValue) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()Consumer<IUnionValueBuilder<String>>getErrorValue()StringgetMessage() 
 - 
 
- 
- 
Constructor Detail
- 
WorkflowSoftErrorDescriptor
public WorkflowSoftErrorDescriptor(String message, Throwable cause, Consumer<IUnionValueBuilder<String>> 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 Detail
- 
getCause
public Throwable getCause()
- Specified by:
 getCausein interfaceIWorkflowSoftErrorDescriptor- Returns:
 - The exception that caused the soft error. May be 
nullwhen not caused by any exception. 
 
- 
getErrorValue
public Consumer<IUnionValueBuilder<String>> getErrorValue()
- Specified by:
 getErrorValuein interfaceIWorkflowSoftErrorDescriptor- Returns:
 - Function that takes a value builder to create the error value.
 
 
- 
getMessage
public String getMessage()
- Specified by:
 getMessagein interfaceIWorkflowSoftErrorDescriptor- Returns:
 - Message providing more details about the error.
 
 
 - 
 
 -