Module io.smallrye.common.process
Package io.smallrye.common.process
Class PipelineExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.smallrye.common.process.AbstractExecutionException
io.smallrye.common.process.PipelineExecutionException
- All Implemented Interfaces:
Serializable
An exception indicating a problem in multiple process stages of a pipeline.
Exceptions of this type will generally have suppressed exceptions for the various
problems that occurred within a pipeline.
The convenience method
processExecutionExceptions() provides easy access
to these causes.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newPipelineExecutionExceptioninstance.Constructs a newPipelineExecutionExceptioninstance with an initial message.PipelineExecutionException(String msg, Throwable cause) Constructs a newPipelineExecutionExceptioninstance with an initial message and cause.Constructs a newPipelineExecutionExceptioninstance with an initial cause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of suppressed process execution exceptions.Methods inherited from class io.smallrye.common.process.AbstractExecutionException
getMessage, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PipelineExecutionException
public PipelineExecutionException()Constructs a newPipelineExecutionExceptioninstance. The message is left blank (null), and no cause is specified. -
PipelineExecutionException
Constructs a newPipelineExecutionExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
PipelineExecutionException
Constructs a newPipelineExecutionExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisPipelineExecutionException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
PipelineExecutionException
Constructs a newPipelineExecutionExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-
-
Method Details
-
processExecutionExceptions
Returns the list of suppressed process execution exceptions.- Returns:
- the list of suppressed process execution exceptions
-