Name: rm29839 Date: 04/02/98
The Throwable class provides a method getLocalizedMessage() that should return a localized version of the message.
Unfortunately, this method does not allow me to specify the locale so the throwable object has to assume that I'm using the
default locale. This is not a valid assumption for any international application.
The solution? Add another method to Throwable:
Throwable.getLocalizedMessage( Locale l );
(Review ID: 27024)
======================================================================
- relates to
-
JDK-8273955 Throwable::getLocalizedMessage should be deprecated
-
- Open
-
-
JDK-6197800 Per-thread Locale
-
- Closed
-