avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craft...@apache.org
Subject cvs commit: avalon/fortress/container/src/impl/org/apache/avalon/fortress/util CompositeException.java
Date Tue, 16 Sep 2003 14:46:59 GMT
crafterm    2003/09/16 07:46:59

  Modified:    fortress/container/src/impl/org/apache/avalon/fortress/util
                        CompositeException.java
  Log:
  Fixing CompositeException test case failure (needs to be parented by
  CascadingException).
  
  Revision  Changes    Path
  1.6       +4 -1      avalon/fortress/container/src/impl/org/apache/avalon/fortress/util/CompositeException.java
  
  Index: CompositeException.java
  ===================================================================
  RCS file: /home/cvs/avalon/fortress/container/src/impl/org/apache/avalon/fortress/util/CompositeException.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CompositeException.java	21 Apr 2003 21:01:28 -0000	1.5
  +++ CompositeException.java	16 Sep 2003 14:46:59 -0000	1.6
  @@ -1,9 +1,11 @@
   package org.apache.avalon.fortress.util;
   
  +import org.apache.avalon.framework.CascadingException;
  +
   /**
    * This is an exception made up of one or more subexceptions.
    */
  -public final class CompositeException extends Exception
  +public final class CompositeException extends CascadingException
   {
       private final Exception[] m_ex;
       private final String m_message;
  @@ -15,6 +17,7 @@
   
       public CompositeException( final Exception[] ex, final String message )
       {
  +        super( message, null );
           m_ex = ex;
           if ( ex == null || ex.length < 1 )
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message