GUACAMOLE-1: Ensure any LinkageErrors thrown by Class.forName() for an extension do not result in the entire startup process aborting.

This commit is contained in:
Michael Jumper committed 2016-03-28 20:50:15 -07:00
1 parent 2cb1ffa60d
commit 2297dfbe7d
1 file changed
+3
@@ -230,6 +230,9 @@ public class Extension {
catch (ClassNotFoundException e) {
throw new GuacamoleException("Authentication provider class not found.", e);
}
catch (LinkageError e) {
throw new GuacamoleException("Authentication provider class cannot be loaded (wrong version of API?).", e);
}
}