java - How to handle unexpected exceptions in JAX-RS - Stack Overflow
Take a look at this page: http://www.rexsl.com/rexsl-core/trap.html. It explains how you can/should catch all runtime exceptions in a web application. Suggested solution with ExceptionMapper
will only catch JAX-RS exceptions, which is not enough, especially if you're using DB and Hibernate.
Read full article from java - How to handle unexpected exceptions in JAX-RS - Stack Overflow
No comments:
Post a Comment