org.objectweb.proactive.core.group
Class ExceptionListException

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

public class ExceptionListException
extends java.lang.RuntimeException

An exception that contains a list of the ExceptionInGroup occured in a group.

Author:
Laurent Baduel
See Also:
Serialized Form

Constructor Summary
ExceptionListException()
          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 ExceptionListException 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

ExceptionListException

public ExceptionListException()
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 ExceptionListException has no ExceptionInGroup.

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


Copyright 2001-2005 INRIA All Rights Reserved.