From: Roland Haeder Date: Sun, 10 Apr 2016 11:33:39 +0000 (+0200) Subject: The exception's message now contains the thrown exception's message, too. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2e0cdc43ee092910dff9fc6bbadefda450fbc2b5;p=pizzaservice-swing.git The exception's message now contains the thrown exception's message, too. updated jar(s) --- diff --git a/lib/jcore-logger-lib.jar b/lib/jcore-logger-lib.jar index 6203f5f..a64a5b0 100644 Binary files a/lib/jcore-logger-lib.jar and b/lib/jcore-logger-lib.jar differ diff --git a/lib/jcore-swing.jar b/lib/jcore-swing.jar index b79d8c1..2ce290a 100644 Binary files a/lib/jcore-swing.jar and b/lib/jcore-swing.jar differ diff --git a/lib/jcore.jar b/lib/jcore.jar index 478823b..11f3a6a 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar index 71d0e1c..ad61871 100644 Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ diff --git a/lib/jshop-core.jar b/lib/jshop-core.jar index 95ea58c..9abcd77 100644 Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ diff --git a/lib/jshop-ee-lib.jar b/lib/jshop-ee-lib.jar index a209047..1bde15c 100644 Binary files a/lib/jshop-ee-lib.jar and b/lib/jshop-ee-lib.jar differ diff --git a/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java b/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java index fa1d919..153d13b 100644 --- a/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java +++ b/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java @@ -16,6 +16,7 @@ */ package org.mxchange.pizzaapplication; +import java.text.MessageFormat; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; @@ -49,7 +50,7 @@ public abstract class BasePizzaServiceSystem extends BaseFrameworkSystem { this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N } catch (final NamingException ex) { // Throw again - throw new RuntimeException("context.lookup() failed.", ex); //NOI18N + throw new RuntimeException(MessageFormat.format("context.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N } }