org.apache.avalon.fortress.util
Class CompositeException

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

public final class CompositeException
extends org.apache.avalon.framework.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()
Overrides:
getMessage in class java.lang.Throwable

getExceptions

public java.lang.Exception[] getExceptions()


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.