Skip to main content

JAX-RS (Jersey) I18N Response in ExceptionMapper

No replies
Joined: 2003-06-13

Has anyone come up with a best practice (or at least a way) to I18N an exception that was handled by an ExceptionMapper? I need to create a locale/language specific response but cannot seem to find any reference to retrieving the caller's locale. It seems that I have no access to the originating request, or do I?