[jboss-cvs] javassist/src/main/javassist/runtime ...
Shigeru Chiba
chiba at is.titech.ac.jp
Wed Mar 19 08:59:36 EDT 2008
User: chiba
Date: 08/03/19 08:59:36
Modified: src/main/javassist/runtime Desc.java
Log:
fixed JASSIST-45 (better exception message)
Revision Changes Path
1.8 +4 -1 javassist/src/main/javassist/runtime/Desc.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Desc.java
===================================================================
RCS file: /cvsroot/jboss/javassist/src/main/javassist/runtime/Desc.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- Desc.java 4 Jun 2007 03:11:12 -0000 1.7
+++ Desc.java 19 Mar 2008 12:59:36 -0000 1.8
@@ -52,7 +52,10 @@
return getClassObject(name);
}
catch (ClassNotFoundException e) {
- throw new RuntimeException("$class: internal error");
+ throw new RuntimeException(
+ "$class: internal error, could not find class '" + name
+ + "' (Desc.useContextClassLoader: "
+ + Boolean.toString(useContextClassLoader) + ")", e);
}
}
More information about the jboss-cvs-commits
mailing list