geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lin...@apache.org
Subject svn commit: r563901 - /geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/BaseDeploymentFactory.java
Date Wed, 08 Aug 2007 14:36:21 GMT
Author: linsun
Date: Wed Aug  8 07:36:21 2007
New Revision: 563901

URL: http://svn.apache.org/viewvc?view=rev&rev=563901
Log:
looks like e.getMessage() is printed twice, so remove it.

Modified:
    geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/BaseDeploymentFactory.java

Modified: geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/BaseDeploymentFactory.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/BaseDeploymentFactory.java?view=diff&rev=563901&r1=563900&r2=563901
==============================================================================
--- geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/BaseDeploymentFactory.java
(original)
+++ geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/BaseDeploymentFactory.java
Wed Aug  8 07:36:21 2007
@@ -173,16 +173,16 @@
             }
             return manager;
         } catch (IOException e) {
-            log.fatal("caught " + e.getMessage(), e);
+            log.fatal("caught ", e);
             DeploymentManagerCreationException deploymentManagerCreationException = 
                     (DeploymentManagerCreationException) new DeploymentManagerCreationException(e.getMessage()).initCause(e);
             log.fatal("throwing " + deploymentManagerCreationException.getMessage(), deploymentManagerCreationException);
             throw deploymentManagerCreationException;
         } catch (SecurityException e) {
-            log.fatal("caught " + e.getMessage(), e);
+            log.fatal("caught ", e);
             AuthenticationFailedException authenticationFailedException = 
                     (AuthenticationFailedException) new AuthenticationFailedException("Invalid
login.").initCause(e);
-            log.fatal("throwing " + authenticationFailedException.getMessage(), authenticationFailedException);
+            log.fatal("throwing ", authenticationFailedException);
             throw authenticationFailedException;
         }
     }



Mime
View raw message