diff options
-rw-r--r-- | src/main/javassist/runtime/Desc.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/javassist/runtime/Desc.java b/src/main/javassist/runtime/Desc.java index 8bf1ce98..fa86a744 100644 --- a/src/main/javassist/runtime/Desc.java +++ b/src/main/javassist/runtime/Desc.java @@ -52,7 +52,10 @@ public class Desc { 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); } } |