Module io.smallrye.common.process
Package io.smallrye.common.process
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
The base type of all execution exception types.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a newAbstractExecutionExceptioninstance.protectedConstructs a newAbstractExecutionExceptioninstance with an initial message.protectedAbstractExecutionException(String msg, Throwable cause) Constructs a newAbstractExecutionExceptioninstance with an initial message and cause.protectedAbstractExecutionException(String message, Throwable cause, boolean writableStackTrace) Constructs a newAbstractExecutionExceptioninstance with an initial message and cause, and configuring whether the stack trace is writable.protectedConstructs a newAbstractExecutionExceptioninstance with an initial cause. -
Method Summary
Modifier and TypeMethodDescriptionRender this exception to the given string builder.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbstractExecutionException
Constructs a newAbstractExecutionExceptioninstance with an initial message and cause, and configuring whether the stack trace is writable.- Parameters:
message- the messagecause- the causewritableStackTrace-trueto allow writable stack traces
-
AbstractExecutionException
protected AbstractExecutionException()Constructs a newAbstractExecutionExceptioninstance. The message is left blank (null), and no cause is specified. -
AbstractExecutionException
Constructs a newAbstractExecutionExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
AbstractExecutionException
Constructs a newAbstractExecutionExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisAbstractExecutionException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
AbstractExecutionException
Constructs a newAbstractExecutionExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-
-
Method Details
-
getMessage
Render this exception to the given string builder.- Parameters:
sb- the string builder (must not benull)- Returns:
- the same string builder (not
null)
-
getMessage
- Overrides:
getMessagein classThrowable
-