Class AbstractExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.smallrye.common.process.AbstractExecutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PipelineExecutionException, ProcessExecutionException, ProcessHandlerException

public abstract class AbstractExecutionException extends RuntimeException
The base type of all execution exception types.
See Also:
  • Constructor Details

    • AbstractExecutionException

      protected AbstractExecutionException(String message, Throwable cause, boolean writableStackTrace)
      Constructs a new AbstractExecutionException instance with an initial message and cause, and configuring whether the stack trace is writable.
      Parameters:
      message - the message
      cause - the cause
      writableStackTrace - true to allow writable stack traces
    • AbstractExecutionException

      protected AbstractExecutionException()
      Constructs a new AbstractExecutionException instance. The message is left blank (null), and no cause is specified.
    • AbstractExecutionException

      protected AbstractExecutionException(String msg)
      Constructs a new AbstractExecutionException instance with an initial message. No cause is specified.
      Parameters:
      msg - the message
    • AbstractExecutionException

      protected AbstractExecutionException(Throwable cause)
      Constructs a new AbstractExecutionException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this AbstractExecutionException; otherwise the message is left blank (null).
      Parameters:
      cause - the cause
    • AbstractExecutionException

      protected AbstractExecutionException(String msg, Throwable cause)
      Constructs a new AbstractExecutionException instance with an initial message and cause.
      Parameters:
      msg - the message
      cause - the cause
  • Method Details

    • getMessage

      public StringBuilder getMessage(StringBuilder sb)
      Render this exception to the given string builder.
      Parameters:
      sb - the string builder (must not be null)
      Returns:
      the same string builder (not null)
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable