org.objectweb.proactive.core.group
Class ExceptionInGroup

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.objectweb.proactive.core.group.ExceptionInGroup
All Implemented Interfaces:
java.io.Serializable

public class ExceptionInGroup
extends java.lang.RuntimeException

This class represents an throwable occured in a group communication.

Author:
Laurent Baduel
See Also:
Serialized Form

Constructor Summary
ExceptionInGroup(java.lang.Object object, int index, java.lang.Throwable throwable)
          Built an ThrowableInGroup
 
Method Summary
 int getIndex()
          Returns the index of the object who throwns the Throwable
 java.lang.Object getObject()
          Returns the object who throwns the Throwable
 java.lang.Throwable getThrowable()
          Returns the Throwable thrown
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Constructor Detail

ExceptionInGroup

public ExceptionInGroup(java.lang.Object object,
                        int index,
                        java.lang.Throwable throwable)
Built an ThrowableInGroup

Parameters:
object - - the object who throwns the throwable (use null if the object is unknown)
index - - the index of the object who throwns the throwable in the caller group
throwable - - the throwable thrown
Method Detail

getObject

public java.lang.Object getObject()
Returns the object who throwns the Throwable

Returns:
the object who throwns the Throwable

getIndex

public int getIndex()
Returns the index of the object who throwns the Throwable

Returns:
the index of the object who throwns the Throwable

getThrowable

public java.lang.Throwable getThrowable()
Returns the Throwable thrown

Returns:
the Throwable thrown


Copyright ? April 2005 INRIA All Rights Reserved.