GridGain™ 2.0.3
Java API Specification

org.gridgain.grid
Class GridException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GridExecutionRejectedException, GridTaskCancellationException, GridTaskTimeoutException, GridTopologyException, GridUserUndeclaredException

@Apache20LicenseCompatible
public class GridException
extends org.gridgain.grid.util.GridAbstractException

General grid exception. This exception is used to indicate any error condition within Grid.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

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

See Also:
Serialized Form
 

Field Summary
 
Fields inherited from class org.gridgain.grid.util.GridAbstractException
UNKNOWN_LINE
 
Constructor Summary
GridException(String msg)
          Creates new grid exception with given error message.
GridException(String msg, Throwable cause)
          Creates new grid exception with given error message and optional nested exception.
GridException(Throwable cause)
          Creates new grid 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

GridException

public GridException(String msg)
Creates new grid exception with given error message.

Parameters:
msg - Error message.

GridException

public GridException(Throwable cause)
Creates new grid exception given throwable as a cause and source of error message.

Parameters:
cause - Non-null throwable cause.

GridException

public GridException(String msg,
                     Throwable cause)
Creates new grid exception with given error message and optional nested exception.

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

GridGain™ 2.0.3
Java API Specification

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