J avolution v5.4 (J2SE 1.6+)

javolution.context
Class ConcurrentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javolution.context.ConcurrentException
All Implemented Interfaces:
java.io.Serializable

public class ConcurrentException
extends java.lang.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
 java.lang.Throwable getCause()
          Returns the original cause of the exception or error.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCause

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

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

J avolution v5.4 (J2SE 1.6+)

Copyright © 2005 - 2009 Javolution.