Package org.omegazero.common.event.task
Class ExecutionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.omegazero.common.event.task.ExecutionFailedException
- All Implemented Interfaces:
Serializable
Exception thrown when a
Task
or other runnable failed to execute due to an exception.- Since:
- 2.6
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newExecutionFailedException
with the specified message.ExecutionFailedException
(String msg, Throwable cause) Creates a newExecutionFailedException
with the specified message and cause.Creates a newExecutionFailedException
with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExecutionFailedException
Creates a newExecutionFailedException
with the specified message.- Parameters:
msg
- The error message- Since:
- 2.10
-
ExecutionFailedException
Creates a newExecutionFailedException
with the specified cause.- Parameters:
cause
- TheThrowable
that caused this task to fail
-
ExecutionFailedException
Creates a newExecutionFailedException
with the specified message and cause.- Parameters:
msg
- The error messagecause
- TheThrowable
that caused this task to fail- Since:
- 2.10
-