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 Sun, 08 Jul 2001 07:23:15 GMT
donaldp     01/07/08 00:23:15

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/framework
                        Condition.java
  Log:
  Change to throw context exception as lack of value in context is the reason for PropertyException.
  
  Revision  Changes    Path
  1.3       +2 -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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Condition.java	2001/06/29 02:40:04	1.2
  +++ Condition.java	2001/07/08 07:23:14	1.3
  @@ -42,7 +42,7 @@
       }
   
       public boolean evaluate( final Context context )
  -        throws TaskException
  +        throws ContextException
       {
           boolean result = false;
   
  @@ -66,7 +66,7 @@
           }
           catch( final PropertyException pe )
           {
  -            throw new TaskException( "Error resolving " + m_condition, pe );
  +            throw new ContextException( "Error resolving " + m_condition, pe );
           }
   
           if( !m_isIfCondition )
  
  
  

Mime
View raw message