Commits

Anonymous committed 7d8c5a7

Better debug output on Continuation ClassLoader errors

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/xwork_1-2@1393e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork/ObjectFactory.java

                     try {
                         byte[] bytes = ClassByteUtil.getBytes(name, parent);
                         if (bytes == null) {
-                            throw new XworkException("Continuation error: no bytes loaded");
+                            throw new XworkException("Continuation error: no bytes loaded for class '" + name + "'");
                         }
 
                         byte[] resume_bytes = null;