users@jersey.java.net

[Jersey] Re: How to catch MessageBodyProviderNotFoundException.

From: <marceloverdijk_at_gmail.com>
Date: Fri, 23 Aug 2013 10:59:08 +0000 (UTC)

I have not annotated it with Provider, but instead registering it in
the application directly like:

public class MyApplication extends ResourceConfig {
    
    public MyApplication() {
        register(MyGlobalExceptionMapper.class);



Note that I'm also using the Spring integration but I assume that
should cause no issues.