You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2002/07/02 03:36:28 UTC
cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/configurer ReportableConfigurationException.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>