ws-woden-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkapu...@apache.org
Subject svn commit: r307319 - /incubator/woden/java/src/org/apache/woden/internal/MessageFormatter.java
Date Sat, 08 Oct 2005 18:24:39 GMT
Author: jkaputin
Date: Sat Oct  8 11:24:34 2005
New Revision: 307319

URL: http://svn.apache.org/viewcvs?rev=307319&view=rev
Log:
Improved comments.

Modified:
    incubator/woden/java/src/org/apache/woden/internal/MessageFormatter.java

Modified: incubator/woden/java/src/org/apache/woden/internal/MessageFormatter.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/MessageFormatter.java?rev=307319&r1=307318&r2=307319&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/internal/MessageFormatter.java (original)
+++ incubator/woden/java/src/org/apache/woden/internal/MessageFormatter.java Sat Oct  8 11:24:34
2005
@@ -40,7 +40,10 @@
      * @param args message parameter values
      * @return the formatted message text
      * 
-     * TODO @throws IllegalArgumentException if the message key is not recognized.
+     * @throws NullPointerException if key is null 
+     * @throws MissingResourceException if no object for the given key can be found 
+     * @throws ClassCastException if the object found for the given key is not a string
+     * @throws IllegalArgumentException if the args don't match the message.
      */
     public String formatMessage(Locale locale, String key, Object[] args) {
         



---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


Mime
View raw message