summaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2013-03-18 21:49:56 +0100
committerJulien Gouesse <[email protected]>2013-03-18 21:49:56 +0100
commit49f6d00ece1e93082bd95149ebc3aac3283250fe (patch)
treef079998a54aad6ac8c1ddeff88ab1467bc274318 /src/java
parent92e931caf64cf24e2b885d2552e64aebcf70a45a (diff)
Catches ExceptionInInitializerError instances when initializing ALFactory
Diffstat (limited to 'src/java')
-rw-r--r--src/java/com/jogamp/openal/ALFactory.java2
1 files changed, 2 insertions, 0 deletions
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);
}
}