org.gridgain.grid
Class GridTaskCancelledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gridgain.grid.GridException
org.gridgain.grid.GridTaskCancelledException
- All Implemented Interfaces:
- Serializable
public class GridTaskCancelledException
- extends GridException
This exception indicates that grid task was cancelled.
- See Also:
- Serialized Form
-

GridTaskCancelledException
public GridTaskCancelledException(String msg)
- Creates new task cancellation exception with given error message.
- Parameters:
msg - Error message.
GridTaskCancelledException
public GridTaskCancelledException(Throwable cause)
- Creates new task cancellation exception given throwable as a cause and
source of error message.
- Parameters:
cause - Non-null throwable cause.
GridTaskCancelledException
public GridTaskCancelledException(String msg,
@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 be null).