Class HawaiiTaskExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hawaiiframework.exception.HawaiiException
org.hawaiiframework.async.exception.HawaiiTaskExecutionException
- All Implemented Interfaces:
Serializable
public class HawaiiTaskExecutionException
extends org.hawaiiframework.exception.HawaiiException
Exception thrown when a task's
CompletableFuture.get() throws an
error.- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newHawaiiTaskExecutionException.HawaiiTaskExecutionException(String message) Constructs a newHawaiiTaskExecutionExceptionwith the suppliedmessage.HawaiiTaskExecutionException(String message, Throwable cause) Constructs a newHawaiiTaskExecutionExceptionwith the suppliedmessageandcause.Constructs a newHawaiiTaskExecutionExceptionwith the suppliedcause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HawaiiTaskExecutionException
public HawaiiTaskExecutionException()Constructs a newHawaiiTaskExecutionException. -
HawaiiTaskExecutionException
Constructs a newHawaiiTaskExecutionExceptionwith the suppliedmessage.- Parameters:
message- the message.
-
HawaiiTaskExecutionException
Constructs a newHawaiiTaskExecutionExceptionwith the suppliedmessageandcause.- Parameters:
message- the message.cause- The cause.
-
HawaiiTaskExecutionException
Constructs a newHawaiiTaskExecutionExceptionwith the suppliedcause.- Parameters:
cause- The cause.
-