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-myrmidon/container/src/java/org/apache/myrmidon/components/configurer ReportableConfigurationException.java
Date Tue, 02 Jul 2002 01:36:28 GMT
donaldp     2002/07/01 18:36:28

  Modified:    container/src/java/org/apache/myrmidon/components/configurer
                        ReportableConfigurationException.java
  Log:
  Made class JDK1.4 compatible
  
  Revision  Changes    Path
  1.3       +7 -7      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/configurer/ReportableConfigurationException.java
  
  Index: ReportableConfigurationException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/configurer/ReportableConfigurationException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ReportableConfigurationException.java	21 Apr 2002 02:41:23 -0000	1.2
  +++ ReportableConfigurationException.java	2 Jul 2002 01:36:28 -0000	1.3
  @@ -20,20 +20,20 @@
   class ReportableConfigurationException
       extends Exception
   {
  -    private ModelException m_cause;
  +    private final ModelException m_cause;
   
  -    public ReportableConfigurationException( final String message )
  +    ReportableConfigurationException( final String message )
       {
  -        m_cause = new ModelException( message );
  +        this( message, null );
       }
   
  -    public ReportableConfigurationException( final String message,
  -                                             final Throwable throwable )
  +    ReportableConfigurationException( final String message,
  +                                      final Throwable throwable )
       {
           m_cause = new ModelException( message, throwable );
       }
   
  -    public ModelException getCause()
  +    ModelException getModelException()
       {
           return m_cause;
       }
  
  
  

--
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