Interface IAbruptCompletionExceptionBuilder<TBuilder,TResult>

Type Parameters:
TBuilder - The type of the builder returned by the various builder methods.
TResult - The type of the result being built by the builder.
All Superinterfaces:
org.apache.commons.lang3.builder.Builder<TResult>, ICompletionResultBuilder<TBuilder,TResult>
All Known Subinterfaces:
INodeReturnedExceptionBuilder, INodeThrewExceptionBuilder

public interface IAbruptCompletionExceptionBuilder<TBuilder,TResult> extends ICompletionResultBuilder<TBuilder,TResult>
Builder for the result of a node that was completed abruptly by throwing an exception or issuing a return statement.
Since:
7.0.7
Author:
XIMA MEDIA GmbH
  • Method Details

    • cause

      TBuilder cause(Throwable cause)
      Parameters:
      cause - The cause that resulted in the returning exception. Since a return is usually intended, you should not have to call this method in most cases.
      Returns:
      this for chaining.
    • message

      TBuilder message(String message)
      Parameters:
      message - The cause that resulted in the returning exception. Since a return is usually intended, you should not have to call this method in most cases.
      Returns:
      this for chaining.