communication
Class CompoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by communication.CommunicationException
              extended by communication.CompoundException
All Implemented Interfaces:
java.io.Serializable

public class CompoundException
extends CommunicationException

When more than one exception has to be handled, this exception stores several other ones.

See Also:
Serialized Form

Field Summary
protected  java.util.Vector<CommunicationException> exceptions
           
 
Constructor Summary
CompoundException()
           
CompoundException(java.lang.String message)
           
CompoundException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 void addException(CommunicationException e)
           
 java.util.Vector<CommunicationException> getExceptions()
           
 
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
 

Field Detail

exceptions

protected java.util.Vector<CommunicationException> exceptions
Constructor Detail

CompoundException

public CompoundException(java.lang.String message,
                         java.lang.Throwable cause)

CompoundException

public CompoundException(java.lang.String message)

CompoundException

public CompoundException()
Method Detail

addException

public void addException(CommunicationException e)

getExceptions

public java.util.Vector<CommunicationException> getExceptions()