james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r415508 - /james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java
Date Tue, 20 Jun 2006 05:39:05 GMT
Author: norman
Date: Mon Jun 19 22:39:04 2006
New Revision: 415508

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

Modified:
    james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java

Modified: james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java?rev=415508&r1=415507&r2=415508&view=diff
==============================================================================
--- james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java
(original)
+++ james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java
Mon Jun 19 22:39:04 2006
@@ -111,18 +111,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


Mime
View raw message