Package org.apache.ignite.compute
Class ComputeTaskCancelledException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.ignite.IgniteException
-
- org.apache.ignite.compute.ComputeTaskCancelledException
-
- All Implemented Interfaces:
Serializable
public class ComputeTaskCancelledException extends IgniteException
This exception indicates that grid task was cancelled.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComputeTaskCancelledException(String msg)
Creates new task cancellation exception with given error message.ComputeTaskCancelledException(String msg, @Nullable Throwable cause)
Creates new task cancellation exception with given error message and optional nested exception.ComputeTaskCancelledException(Throwable cause)
Creates new task cancellation exception given throwable as a cause and source of error message.
-
Method Summary
-
Methods inherited from class org.apache.ignite.IgniteException
getCause, hasCause, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ComputeTaskCancelledException
public ComputeTaskCancelledException(String msg)
Creates new task cancellation exception with given error message.- Parameters:
msg
- Error message.
-
ComputeTaskCancelledException
public ComputeTaskCancelledException(Throwable cause)
Creates new task cancellation exception given throwable as a cause and source of error message.- Parameters:
cause
- Non-null throwable cause.
-
-