KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > a > a2 > D


1 package a.a2;
2
3 /**
4  * Example class file. Not to be tested (for 0 coverage report test)
5  *
6  * @author Matt Albrecht <a HREF="mailto:groboclown@users.sourceforge.net">groboclown@users.sourceforge.net</a>
7  * @version $Date: 2004/02/25 22:29:48 $
8  * @since February 25, 2004
9  */

10 public class D
11 {
12     public void doSomething()
13     {
14         int i = 0;
15         ++i;
16         System.out.println("on "+i);
17         try
18         {
19             new Exception JavaDoc();
20         }
21         catch (Exception JavaDoc e)
22         {
23             ++i;
24         }
25         finally
26         {
27             ++i;
28         }
29     }
30 }
31
Popular Tags