GridGain™ 2.1.0
Java API Specification

org.gridgain.grid
Class GridTaskTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gridgain.grid.util.GridAbstractException
              extended by org.gridgain.grid.GridException
                  extended by org.gridgain.grid.GridTaskTimeoutException
All Implemented Interfaces:
Serializable

@Apache20LicenseCompatible
public class GridTaskTimeoutException
extends GridException

This exception indicates that task execution timed out. It is thrown from GridTaskFuture.get() method.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

See Also:
Serialized Form
 

Field Summary
 
Fields inherited from class org.gridgain.grid.util.GridAbstractException
UNKNOWN_LINE
 
Constructor Summary
GridTaskTimeoutException(String msg)
          Creates task timeout exception with given task execution ID and error message.
GridTaskTimeoutException(String msg, Throwable cause)
          Creates task timeout exception with given task execution ID, error message and optional nested exception.
GridTaskTimeoutException(Throwable cause)
          Creates new task timeout exception given throwable as a cause and source of error message.
 
Method Summary
 
Methods inherited from class org.gridgain.grid.util.GridAbstractException
printStackTrace, printStackTrace, printStackTrace, setData, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridTaskTimeoutException

public GridTaskTimeoutException(String msg)
Creates task timeout exception with given task execution ID and error message.

Parameters:
msg - Error message.

GridTaskTimeoutException

public GridTaskTimeoutException(Throwable cause)
Creates new task timeout exception given throwable as a cause and source of error message.

Parameters:
cause - Non-null throwable cause.

GridTaskTimeoutException

public GridTaskTimeoutException(String msg,
                                Throwable cause)
Creates task timeout exception with given task execution ID, error message and optional nested exception.

Parameters:
msg - Error message.
cause - Optional nested exception (can be null).

GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.