[jboss-dev-forums] [JBoss Microcontainer Development] - Re: Testing Deployers with new Reflect + ClassPool
flavia.rainone@jboss.com
do-not-reply at jboss.com
Fri Dec 4 12:11:43 EST 2009
"alesj" wrote :
| | public Class<?> loadClass(String name)
| | {
| | try
| | {
| | return loadClass(null, name, true);
| | }
| | catch (ClassNotFoundException e)
| | {
| | return null;
| | }
| | }
Now I'm curious... why isn't ClassNotFoundException being thrown? The ClassLoader.loadClass() API is clear about CNFE being thrown if a class can't be found.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269059#4269059
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269059
More information about the jboss-dev-forums
mailing list