Package de.xima.fc.exceptions
Class NodeReturnedException.Builder
java.lang.Object
de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder<NodeReturnedException.Builder>
de.xima.fc.exceptions.NodeReturnedException.Builder
- Enclosing class:
- NodeReturnedException
public static final class NodeReturnedException.Builder
extends AbstractAbruptCompletionException.Builder<NodeReturnedException.Builder>
A simple builder for configuring a
NodeReturnedException
.- Since:
- 8.1.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected NodeReturnedException.Builder
self()
softErrors
(List<NodeSoftErrorException> softErrors) successValue
(Object successValue) Methods inherited from class de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder
alwaysValue, attachmentValue, cause, fileValue, message
-
Method Details
-
build
- Returns:
- A new
NodeReturnedException
with the current data.
-
softErrors
- Parameters:
softErrors
- Soft errors that occurred during the node's execution.- Returns:
- This builder instance for chaining method calls.
-
successValue
- Parameters:
successValue
- Data provided by the node when successful.- Returns:
- This builder instance for chaining method calls.
-
self
- Specified by:
self
in classAbstractAbruptCompletionException.Builder<NodeReturnedException.Builder>
- Returns:
- This builder instance for chaining method calls.
-