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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]