org.objectweb.proactive.core.group
Class ExceptionList

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

public class ExceptionList
extends java.lang.RuntimeException

A list of the ExceptionInGroup occured in a group.

Author:
Laurent Baduel
See Also:
Serialized Form

Constructor Summary
ExceptionList()
          Builds a new empty list of exception
 
Method Summary
 void add(ExceptionInGroup exception)
          Adds an exception into this list
 void clear()
          Removes all of the exceptions from this list.
 boolean isEmpty()
          Tests if this ExceptionList has no ExceptionInGroup.
 java.util.Iterator iterator()
          Returns an iterator over the exceptions in this list in proper sequence.
 int size()
          Returns the number of exceptions in this list.
 
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

ExceptionList

public ExceptionList()
Builds a new empty list of exception

Method Detail

add

public void add(ExceptionInGroup exception)
Adds an exception into this list

Parameters:
exception - - the exception to add

clear

public void clear()
Removes all of the exceptions from this list.


iterator

public java.util.Iterator iterator()
Returns an iterator over the exceptions in this list in proper sequence.

Returns:
an iterator over the exceptions in this list in proper sequence.

size

public int size()
Returns the number of exceptions in this list.

Returns:
the number of exceptions in this list.

isEmpty

public boolean isEmpty()
Tests if this ExceptionList has no ExceptionInGroup.

Returns:
true if and only if this list has no components, that is, its size is zero; false otherwise.


Copyright ? April 2005 INRIA All Rights Reserved.