I've been finding I've been doing this a lot because the JAX-RS
exception classes don't allow you to set a message:
new BadRequestException(new Exception("You did something really bad"));
Can we add String parameter options to the exception hierarchy?
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com