org.apache.avalon.fortress.util
Class CompositeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.avalon.fortress.util.CompositeException
All Implemented Interfaces:
Serializable

public final class CompositeException
extends Exception

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

See Also:
Serialized Form

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

CompositeException

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

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getExceptions

public Exception[] getExceptions()


Copyright © 2000-2002 Apache Avalon Project. All Rights Reserved.