roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r1601089 - in /roller/trunk/app/src/main/java/org/apache/roller/weblogger/business: GuiceWebloggerProvider.java WebloggerFactory.java
Date Sat, 07 Jun 2014 11:19:06 GMT
Author: gmazza
Date: Sat Jun  7 11:19:05 2014
New Revision: 1601089

URL: http://svn.apache.org/r1601089
Log:
Expanding error message in hopes of getting more info why it's failing on Jenkins. (part 2)

Modified:
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/GuiceWebloggerProvider.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerFactory.java

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/GuiceWebloggerProvider.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/GuiceWebloggerProvider.java?rev=1601089&r1=1601088&r2=1601089&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/GuiceWebloggerProvider.java
(original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/GuiceWebloggerProvider.java
Sat Jun  7 11:19:05 2014
@@ -55,7 +55,7 @@ public class GuiceWebloggerProvider impl
             throw t;
         } catch (Throwable e) {
             // Fatal misconfiguration, cannot recover
-            throw new RuntimeException("Error instantiating backend module " + moduleClassname,
e);
+            throw new RuntimeException("Error instantiating backend module " + moduleClassname
+ "; exception message: " + e.getMessage(), e);
         }
     }
     
@@ -79,7 +79,7 @@ public class GuiceWebloggerProvider impl
             throw t;
         } catch (Throwable e) {
             // Fatal misconfiguration, cannot recover
-            throw new RuntimeException("Error instantiating backend module " + moduleClassname,
e);
+            throw new RuntimeException("Error instantiating backend module " + moduleClassname
+ "; exception message: " + e.getMessage(), e);
         }
     }
     

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerFactory.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerFactory.java?rev=1601089&r1=1601088&r2=1601089&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerFactory.java
(original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerFactory.java
Sat Jun  7 11:19:05 2014
@@ -87,7 +87,7 @@ public final class WebloggerFactory {
                 Class providerClass = Class.forName(providerClassname);
                 defaultProvider = (WebloggerProvider) providerClass.newInstance();
             } catch (Exception ex) {
-                throw new BootstrapException("Error instantiating default provider: " + providerClassname
+ "; Exception message: " + ex.getMessage(), ex);
+                throw new BootstrapException("Error instantiating default provider: " + providerClassname
+ "; exception message: " + ex.getMessage(), ex);
             }
         } else {
             throw new NullPointerException("No provider specified in config property 'weblogger.provider.class'");



Mime
View raw message