You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2006/06/19 13:11:43 UTC

svn commit: r415291 - /james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java

Author: norman
Date: Mon Jun 19 04:11:42 2006
New Revision: 415291

URL: http://svn.apache.org/viewvc?rev=415291&view=rev
Log:
Throw ConfigurationExceptions on "LifeCircle" Exceptions. See JAMES-540

Modified:
    james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java

Modified: james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java?rev=415291&r1=415290&r2=415291&view=diff
==============================================================================
--- james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java (original)
+++ james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java Mon Jun 19 04:11:42 2006
@@ -137,18 +137,22 @@
                            if (getLogger().isErrorEnabled()) {
                                getLogger().error("Failed to add Commandhandler: " + className,ex);
                            }
+                           throw new ConfigurationException("Failed to add Commandhandler: " + className,ex);
                         } catch (IllegalAccessException ex) {
                            if (getLogger().isErrorEnabled()) {
                                getLogger().error("Failed to add Commandhandler: " + className,ex);
                            }
+                           throw new ConfigurationException("Failed to add Commandhandler: " + className,ex);
                         } catch (InstantiationException ex) {
                            if (getLogger().isErrorEnabled()) {
                                getLogger().error("Failed to add Commandhandler: " + className,ex);
                            }
+                           throw new ConfigurationException("Failed to add Commandhandler: " + className,ex);
                         } catch (ServiceException e) {
                             if (getLogger().isErrorEnabled()) {
                                 getLogger().error("Failed to service Commandhandler: " + className,e);
                             }
+                            throw new ConfigurationException("Failed to add Commandhandler: " + className,e);
                         }
                     }
                 }



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