diff --git a/extra/org.cohorte.utilities.picosoc.webapp/src/org/cohorte/utilities/picosoc/webapp/CWebAppPathsBase.java b/extra/org.cohorte.utilities.picosoc.webapp/src/org/cohorte/utilities/picosoc/webapp/CWebAppPathsBase.java index da1f0a6..8ba356d 100644 --- a/extra/org.cohorte.utilities.picosoc.webapp/src/org/cohorte/utilities/picosoc/webapp/CWebAppPathsBase.java +++ b/extra/org.cohorte.utilities.picosoc.webapp/src/org/cohorte/utilities/picosoc/webapp/CWebAppPathsBase.java @@ -223,7 +223,7 @@ private StringBuilder dumpOnePathInSB(final StringBuilder aSB, final String aLab try { Method wMethod = getClass().getMethod(aMethodName); wValue = String.valueOf(wMethod.invoke(this)); - } catch (Exception | Error e) { + } catch (Exception e) { Throwable wThrowable = (e instanceof InvocationTargetException)? ((InvocationTargetException)e).getTargetException() : e; wValue= CXException.eUserMessagesInString(wThrowable); }