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 HawaiiException
Exception thrown when a task'sCompletableFuture.get()
throws an error.- Since:
- 2.0.0
- Author:
- Rutger Lubbers
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HawaiiTaskExecutionException()
Constructs a newHawaiiTaskExecutionException
.HawaiiTaskExecutionException(String message)
Constructs a newHawaiiTaskExecutionException
with the suppliedmessage
.HawaiiTaskExecutionException(String message, Throwable cause)
Constructs a newHawaiiTaskExecutionException
with the suppliedmessage
andcause
.HawaiiTaskExecutionException(Throwable cause)
Constructs a newHawaiiTaskExecutionException
with 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 Detail
-
HawaiiTaskExecutionException
public HawaiiTaskExecutionException()
Constructs a newHawaiiTaskExecutionException
.
-
HawaiiTaskExecutionException
public HawaiiTaskExecutionException(String message)
Constructs a newHawaiiTaskExecutionException
with the suppliedmessage
.
-
HawaiiTaskExecutionException
public HawaiiTaskExecutionException(String message, Throwable cause)
Constructs a newHawaiiTaskExecutionException
with the suppliedmessage
andcause
.
-
HawaiiTaskExecutionException
public HawaiiTaskExecutionException(Throwable cause)
Constructs a newHawaiiTaskExecutionException
with the suppliedcause
.
-
-