Author: pete.muir(a)jboss.org
Date: 2008-10-23 17:05:51 -0400 (Thu, 23 Oct 2008)
New Revision: 9404
Modified:
trunk/src/main/org/jboss/seam/deployment/FileDescriptor.java
Log:
print out the classloader
Modified: trunk/src/main/org/jboss/seam/deployment/FileDescriptor.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/FileDescriptor.java 2008-10-23 19:21:17 UTC
(rev 9403)
+++ trunk/src/main/org/jboss/seam/deployment/FileDescriptor.java 2008-10-23 21:05:51 UTC
(rev 9404)
@@ -19,12 +19,12 @@
this.name = name;
if (name == null)
{
- throw new NullPointerException("Name cannot be null");
+ throw new NullPointerException("Name cannot be null, loading from " +
classLoader);
}
this.url = classLoader.getResource(name);
if (this.url == null)
{
- throw new NullPointerException("Cannot find URL from classLoader for "
+ name);
+ throw new NullPointerException("Cannot find URL from classLoader for "
+ name + ", loading from " + classLoader);
}
}
Show replies by date