james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r907998 - /james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/AbstractCommandDispatcher.java
Date Tue, 09 Feb 2010 10:52:38 GMT
Author: norman
Date: Tue Feb  9 10:52:38 2010
New Revision: 907998

URL: http://svn.apache.org/viewvc?rev=907998&view=rev
Log:
Just a bit more useful exception

Modified:
    james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/AbstractCommandDispatcher.java

Modified: james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/AbstractCommandDispatcher.java
URL: http://svn.apache.org/viewvc/james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/AbstractCommandDispatcher.java?rev=907998&r1=907997&r2=907998&view=diff
==============================================================================
--- james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/AbstractCommandDispatcher.java
(original)
+++ james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/AbstractCommandDispatcher.java
Tue Feb  9 10:52:38 2010
@@ -103,9 +103,10 @@
         } else {
             List<String> mandatoryCommands = getMandatoryCommands();
             for (int i = 0; i < mandatoryCommands.size(); i++) {
+            	String cmd = mandatoryCommands.get(i);
                 if (!commandHandlerMap.containsKey(mandatoryCommands.get(i))) {
                     throw new WiringException(
-                    "No commandhandlers configured for mandatory commands");
+                    "No commandhandlers configured for mandatory command " +cmd) ;
                 }
             }
         }



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


Mime
View raw message