Update of /cvsroot/fb-contrib/fb-contrib/samples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16875/samples
Modified Files:
DRE_Sample.java
Log Message:
test a custom runtime exception class
Index: DRE_Sample.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/samples/DRE_Sample.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- DRE_Sample.java 15 Sep 2005 04:03:12 -0000 1.1
+++ DRE_Sample.java 8 Jan 2006 03:19:16 -0000 1.2
@@ -16,4 +16,14 @@
if (c == 0)
throw new SQLException("test");
}
+
+ public void test4(int d) throws CustomRuntimeException {
+ if (d == 0)
+ throw new CustomRuntimeException();
+ }
+}
+
+class CustomRuntimeException extends RuntimeException
+{
+
}
\ No newline at end of file
|