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