Update of /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12663/src/com/mebigfatguy/fbcontrib/detect
Modified Files:
DeclaredRuntimeException.java
Log Message:
javadoc
Index: DeclaredRuntimeException.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeclaredRuntimeException.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- DeclaredRuntimeException.java 5 Dec 2005 05:21:15 -0000 1.7
+++ DeclaredRuntimeException.java 6 Dec 2005 05:42:44 -0000 1.8
@@ -67,11 +67,21 @@
return super.clone();
}
+ /**
+ * overrides the visitor and accepts if the Exception class was loaded
+ *
+ * @param classContext the context object for the currently parsed class
+ */
public void visitClassContext(final ClassContext classContext) {
if (runtimeExceptionClass != null)
classContext.getJavaClass().accept(this);
}
+ /**
+ * overrides the visitor to find declared runtime exceptions
+ *
+ * @param obj the method object of the currently parsed method
+ */
@Override
public void visitMethod(final Method obj) {
ExceptionTable et = obj.getExceptionTable();
@@ -120,6 +130,9 @@
}
}
+ /**
+ * implementation of the detector, with null implementation
+ */
public void report() {
}
|