stevencaswell 2002/09/18 08:47:44
Modified: lang/src/test/org/apache/commons/lang/exception
ExceptionUtilsTestCase.java
Log:
change getCause() ExceptionWithoutCause static class:
- changed signature to match getCause method in JDK 1.4 Exception
- changed method to return null
Revision Changes Path
1.3 +3 -4
jakarta-commons/lang/src/test/org/apache/commons/lang/exception/ExceptionUtilsTestCase.java
Index: ExceptionUtilsTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/exception/ExceptionUtilsTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ExceptionUtilsTestCase.java 22 Aug 2002 00:00:09 -0000 1.2
+++ ExceptionUtilsTestCase.java 18 Sep 2002 15:47:44 -0000 1.3
@@ -62,6 +62,7 @@
* Tests {@link org.apache.commons.lang.exception.ExceptionUtils}.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
+ * @aithor <a href="mailto:[EMAIL PROTECTED]">Steven Caswell</a>
* @since 1.0
*/
public class ExceptionUtilsTestCase extends junit.framework.TestCase
@@ -123,11 +124,9 @@
private static class ExceptionWithoutCause extends Exception
{
- /**
- * Bogus signature.
- */
- public void getCause()
+ public Throwable getCause()
{
+ return null;
}
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>