ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework Condition.java
Date Fri, 25 Jan 2002 11:18:41 GMT
donaldp     02/01/25 03:18:41

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/framework
                        Condition.java
  Log:
  Rebadge ContextException as a TaskException
  
  Submitted By: "Adam Murdoch" <adammurdoch_ml@yahoo.com>
  
  Revision  Changes    Path
  1.10      +3 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Condition.java
  
  Index: Condition.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Condition.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Condition.java	22 Jan 2002 11:46:30 -0000	1.9
  +++ Condition.java	25 Jan 2002 11:18:41 -0000	1.10
  @@ -45,7 +45,7 @@
       }
   
       public boolean evaluate( final TaskContext context )
  -        throws ContextException
  +        throws TaskException
       {
           boolean result = false;
   
  @@ -66,8 +66,9 @@
                   }
               }
           }
  -        catch( final TaskException te )
  +        catch( final ContextException ce )
           {
  +            // Unknown property
               result = false;
           }
           /*
  
  
  

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


Mime
View raw message