Package top.focess.qq.api.schedule
Class TaskNotFinishedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- top.focess.qq.api.schedule.TaskNotFinishedException
-
- All Implemented Interfaces:
Serializable
public class TaskNotFinishedException extends IllegalStateException
Thrown to indicate the task is not finished- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskNotFinishedException(Callback<V> callback)Constructs a TaskNotFinishedException
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TaskNotFinishedException
public TaskNotFinishedException(@NotNull Callback<V> callback)Constructs a TaskNotFinishedException- Type Parameters:
V- the task return type- Parameters:
callback- the task
-
-