How do I localize an exception's text message?

John Zukowski

In your exception subclass, override the getLocalizedMessage(Locale locale) method. You would then need to fetch the locale-specific message from the appropriate ResourceBundle.

About | Sitemap | Contact