avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/classloader SarPolicyResolver.java
Date Wed, 25 Sep 2002 21:16:35 GMT
donaldp     2002/09/25 14:16:34

  Modified:    src/java/org/apache/avalon/phoenix/components/classloader
                        SarPolicyResolver.java
  Log:
  JDK1.3 compatability
  
  Revision  Changes    Path
  1.2       +3 -2      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/classloader/SarPolicyResolver.java
  
  Index: SarPolicyResolver.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/classloader/SarPolicyResolver.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SarPolicyResolver.java	22 Sep 2002 08:52:13 -0000	1.1
  +++ SarPolicyResolver.java	25 Sep 2002 21:16:34 -0000	1.2
  @@ -17,6 +17,7 @@
   import org.apache.avalon.framework.context.DefaultContext;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.avalon.framework.container.ContainerUtil;
  +import org.apache.avalon.framework.CascadingException;
   import org.apache.avalon.phoenix.components.util.ResourceUtil;
   import org.apache.excalibur.policy.builder.PolicyResolver;
   
  @@ -102,7 +103,7 @@
           catch( final Exception e )
           {
               final String message = REZ.getString( "policy.error.property.resolve", value
);
  -            throw new Exception( message, e );
  +            throw new CascadingException( message, e );
           }
       }
   }
  
  
  

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


Mime
View raw message