org.apache.avalon.fortress.util
Class CompositeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.framework.CascadingException
              extended byorg.apache.avalon.fortress.util.CompositeException
All Implemented Interfaces:
CascadingThrowable, java.io.Serializable

public final class CompositeException
extends CascadingException

This is an exception made up of one or more subexceptions.

See Also:
Serialized Form

Constructor Summary
CompositeException(java.lang.Exception[] ex)
           
CompositeException(java.lang.Exception[] ex, java.lang.String message)
           
 
Method Summary
 java.lang.Exception[] getExceptions()
           
 java.lang.String getMessage()
           
 
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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

CompositeException

public CompositeException(java.lang.Exception[] ex)

CompositeException

public CompositeException(java.lang.Exception[] ex,
                          java.lang.String message)
Method Detail

getMessage

public java.lang.String getMessage()

getExceptions

public java.lang.Exception[] getExceptions()


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.