Hello,
I fix my problem. I included the class InvalidDataException in the *.war and in
the *.jar so there were 2 definitions of InvalidDataException. Thats why my
exception was not catched.
Bye
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932743#3932743
Start here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932595#3932595
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932595
---
I find out that if the servlet's classloader and the invalidDataException's
classloader are the same, the servlet catch the exception without any problem.
But if the classloaders are different the exception will not be catched...
Any idea about the classloader?
Thank you
View the original pos