From ec7f1454383b0ca221fd372c9854cf1c2adb152d Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Tue, 15 Apr 2008 09:22:02 +0000 Subject: [PATCH] improve exception handling SVN: 5540 --- .../java/ch/systemsx/cisd/common/utilities/ClassUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/source/java/ch/systemsx/cisd/common/utilities/ClassUtils.java b/common/source/java/ch/systemsx/cisd/common/utilities/ClassUtils.java index 1f395a835aa..2b10b75b8ac 100644 --- a/common/source/java/ch/systemsx/cisd/common/utilities/ClassUtils.java +++ b/common/source/java/ch/systemsx/cisd/common/utilities/ClassUtils.java @@ -163,6 +163,7 @@ public final class ClassUtils return constructor.newInstance(argumentsOrNull); } catch (final ClassNotFoundException e) { + throw CheckedExceptionTunnel.wrapIfNecessary(e); } catch (final InstantiationException ex) { } catch (final IllegalAccessException ex) -- GitLab