If any at all, examples will have only string parameters and never throw custom exceptions. I'm afraid you'll have to find out on your own...
What version of JBoss are you asking about?
If its 4.0.4 or greater we have some examples here:
We also have extensive testsuites you can look at in svn: