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
2016-03-22 16:30:04 -07:00
parent 2cb1ffa60d
commit 2297dfbe7d

View File

@@ -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);
}
}