From 49f6d00ece1e93082bd95149ebc3aac3283250fe Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Mon, 18 Mar 2013 21:49:56 +0100 Subject: Catches ExceptionInInitializerError instances when initializing ALFactory --- src/java/com/jogamp/openal/ALFactory.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/java/com') diff --git a/src/java/com/jogamp/openal/ALFactory.java b/src/java/com/jogamp/openal/ALFactory.java index 08d0a48..0889d85 100644 --- a/src/java/com/jogamp/openal/ALFactory.java +++ b/src/java/com/jogamp/openal/ALFactory.java @@ -103,6 +103,8 @@ public class ALFactory { } } catch (UnsatisfiedLinkError e) { throw new ALException(e); + } catch (ExceptionInInitializerError er) { + throw new ALException(er); } } -- cgit v1.2.3