Class WorkflowExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.axoniq.framework.workflow.dsl.api.WorkflowExecutionException
All Implemented Interfaces:
Cause, Serializable

@Internal public final class WorkflowExecutionException extends RuntimeException implements Cause
Stackless RuntimeException produced when a WorkflowError is rehydrated from an event payload.

Carries the fully-qualified class name of the originating throwable via type() fillInStackTrace() is overridden to avoid capturing a stack trace at the reconstruction site

Since:
5.4.0
Author:
Stefan Dragisic
See Also:
  • Constructor Details

    • WorkflowExecutionException

      public WorkflowExecutionException(String type, @Nullable String message, @Nullable Throwable cause)
      Creates a stackless exception carrying the originating throwable's metadata.
      Parameters:
      type - fully-qualified class name of the originating throwable.
      message - message of the originating throwable, or null.
      cause - reconstructed cause, or null.
  • Method Details