Package de.xima.fc.exceptions
Class NodeThrewException.Builder
- java.lang.Object
-
- de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder<NodeThrewException.Builder>
-
- de.xima.fc.exceptions.NodeThrewException.Builder
-
- Enclosing class:
- NodeThrewException
public static final class NodeThrewException.Builder extends AbstractAbruptCompletionException.Builder<NodeThrewException.Builder>
A simple builder for configuring aNodeThrewException
.- Since:
- 8.1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeThrewException
build()
NodeThrewException.Builder
errorData(IDiscriminatedUnionMember<String,?> errorData)
protected NodeThrewException.Builder
self()
-
Methods inherited from class de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder
alwaysValue, attachmentValue, cause, fileValue, message
-
-
-
-
Method Detail
-
build
public NodeThrewException build()
- Returns:
- A new
NodeThrewException
with the current data.
-
errorData
public NodeThrewException.Builder errorData(IDiscriminatedUnionMember<String,?> errorData)
- Parameters:
errorData
- Data made available by the node when it ends abruptly by throwing an exception.- Returns:
- This builder instance for chaining method calls.
-
self
protected NodeThrewException.Builder self()
- Specified by:
self
in classAbstractAbruptCompletionException.Builder<NodeThrewException.Builder>
- Returns:
- This builder instance for chaining method calls.
-
-