Ok, I figured this out. I was packing my custom exception class into my
client(war). As soon as I took it out the correct exception was passed down.
Hope this helps someone later.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925289#3925289
Reply to the post
I have declared a custom exception using the @ApplicationException, which, from
what I understand should cause the container not to wrap the exception. However
when I throw the exception from my stateless bean it keeps being caught be my
web application as an UndeclaredThrowableException. I am