You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sk...@apache.org on 2004/03/01 08:20:40 UTC
cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules XmlLoadException.java
skitching 2004/02/29 23:20:40
Modified: digester/src/java/org/apache/commons/digester/xmlrules
XmlLoadException.java
Log:
Added getCause() method - see bugzilla 22383
Revision Changes Path
1.8 +8 -0 jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/XmlLoadException.java
Index: XmlLoadException.java
===================================================================
RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/XmlLoadException.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- XmlLoadException.java 28 Feb 2004 13:32:53 -0000 1.7
+++ XmlLoadException.java 1 Mar 2004 07:20:40 -0000 1.8
@@ -44,4 +44,12 @@
this(msg);
this.cause = cause;
}
+
+ /**
+ * Returns the cause of this throwable or null if the cause is
+ * nonexistent or unknown.
+ */
+ public Throwable getCause() {
+ return cause;
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org