GridGain™ 2.1.0
Java API Specification

org.gridgain.grid
Class GridUserUndeclaredException

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.GridUserUndeclaredException
All Implemented Interfaces:
Serializable

@Apache20LicenseCompatible
public class GridUserUndeclaredException
extends GridException

This exception is thrown when user's code throws undeclared runtime exception. By user core it is assumed the code in grid task, grid job or SPI. In most cases it should be an indication of unrecoverable error condition such as assertion, NullPointerException, OutOfMemoryError, etc.



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
GridUserUndeclaredException(String msg)
          Creates user undeclared exception with given task execution ID and error message.
GridUserUndeclaredException(String msg, Throwable cause)
          Creates user undeclared exception with given task execution ID, error message and optional nested exception.
GridUserUndeclaredException(Throwable cause)
          Creates new user undeclared 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

GridUserUndeclaredException

public GridUserUndeclaredException(String msg)
Creates user undeclared exception with given task execution ID and error message.

Parameters:
msg - Error message.

GridUserUndeclaredException

public GridUserUndeclaredException(Throwable cause)
Creates new user undeclared exception given throwable as a cause and source of error message.

Parameters:
cause - Non-null throwable cause.

GridUserUndeclaredException

public GridUserUndeclaredException(String msg,
                                   Throwable cause)
Creates user undeclared 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.