javolution.context
Class ConcurrentException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by ConcurrentException
All Implemented Interfaces:
Serializable

public class ConcurrentException
extends RuntimeException

This class encapsulates errors or exceptions raised during the execution of concurrent threads (ConcurrentException are raised upon exit of the ConcurrentContext). getCause() identifies the source of the error.

Version:
1.0, October 4, 2004
Author:
Jean-Marie Dautelle
See Also:
ConcurrentContext.exit(), Serialized Form

Method Summary
 Throwable getCause()
          Returns the original cause of the exception or error.
 
Methods inherited from class Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCause

public Throwable getCause()
Returns the original cause of the exception or error.

Overrides:
getCause in class Throwable
Returns:
the exception or error as it has been raised by the j2me.lang.Runnable.


Copyright © 2005-2012 Javolution. All Rights Reserved.