java - JAX-RS jersey ExceptionMappers User-Defined Exception - Stack Overflow
You need to annotate your exception mapper with @Provider
, otherwise it will never get registered with the JAX-RS runtime.
Read full article from java - JAX-RS jersey ExceptionMappers User-Defined Exception - Stack Overflow
No comments:
Post a Comment