Update of /cvsroot/xdoclet/xdoclet2/src/java/xdoclet
In directory sc8-pr-cvs1:/tmp/cvs-serv16159/src/java/xdoclet

Modified Files:
        Plugin.java 
Log Message:
Made checkClass static.

Index: Plugin.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet2/src/java/xdoclet/Plugin.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** Plugin.java 8 Mar 2003 14:21:09 -0000       1.7
--- Plugin.java 9 Mar 2003 15:45:35 -0000       1.8
***************
*** 428,437 ****
       * @param className the name of the class to check.
       */
!     protected void checkClass(String className)
              throws XDocletException {
          try {
              Class.forName(className);
          }
!         catch (Exception e) {
              throw new XDocletException("Couldn't load " + className
                                         + ". Make sure you have this class on the 
classpath used to define XDoclet.");
--- 428,437 ----
       * @param className the name of the class to check.
       */
!     protected static void checkClass(String className)
              throws XDocletException {
          try {
              Class.forName(className);
          }
!         catch (ClassNotFoundException e) {
              throw new XDocletException("Couldn't load " + className
                                         + ". Make sure you have this class on the 
classpath used to define XDoclet.");



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to