org.objectweb.proactive.core.group
Class ExceptionList

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.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.
 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.


size

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

Returns:
the number of exceptions in this list.


Copyright © April 2004 INRIA All Rights Reserved.