From e87607b19f42f8083f056ff258f55345d861afb8 Mon Sep 17 00:00:00 2001 From: Michael Brohl Date: Sat, 7 Oct 2017 15:46:38 +0000 Subject: [PATCH] Fixed: the introduction of multicatch in Converters.java which came with r1811434 breaks MiscTests#testLoadContainedConvertersIgnoresException which throws a RuntimeException. Not sure if we should change the test so the fix is to reintroduce the catch of Exception. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811437 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/ofbiz/base/conversion/Converters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/conversion/Converters.java b/framework/base/src/main/java/org/apache/ofbiz/base/conversion/Converters.java index cc79dc4ec1..c911eb8f31 100644 --- a/framework/base/src/main/java/org/apache/ofbiz/base/conversion/Converters.java +++ b/framework/base/src/main/java/org/apache/ofbiz/base/conversion/Converters.java @@ -152,7 +152,7 @@ OUTER: loader.loadConverters(); } } - } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { + } catch (Exception e) { Debug.logError(e, module); } }