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:
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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user