sboag 01/03/11 13:38:13
Modified: java/src/org/apache/xml/utils WrappedRuntimeException.java
Log:
Patch attributed to Patrick Moore <[EMAIL PROTECTED]> on 03/09/2001.
Adds another constructor to pass in the error message.
Revision Changes Path
1.4 +15 -0
xml-xalan/java/src/org/apache/xml/utils/WrappedRuntimeException.java
Index: WrappedRuntimeException.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/WrappedRuntimeException.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WrappedRuntimeException.java 2001/01/02 03:42:50 1.3
+++ WrappedRuntimeException.java 2001/03/11 21:38:13 1.4
@@ -83,6 +83,21 @@
}
/**
+ * Constructor WrappedRuntimeException
+ *
+ *
+ * @param msg Exception information.
+ * @param e Primary checked exception
+ */
+ public WrappedRuntimeException(String msg, Exception e)
+ {
+
+ super(msg);
+
+ m_exception = e;
+ }
+
+ /**
* Get the checked exception that this runtime exception wraps.
*
* @return The primary checked exception
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]