Hi.

This method:
---CUT---
  public String getMessage(final Locale locale) {
    // ...
  }
---CUT---
was added in "MathIllegalArgumentException".
I don't like it because it extends the Java standard interface for getting
localized message strings. One should use the standard
  getLocalizedMessage()
when the localized message is wanted.
The above method makes it look like CM is providing ways to make a
"patchwork" of messages in several languages at the discretion of the
component builders. Only the application developer should be able to define
the language to use for displaying message.


Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to