GUACAMOLE-204: Fix compile issues - catch() requires braces, and throw should be lower-case.
This commit is contained in:
1 parent
b278970076
commit
fe6d8e2975
1 file changed
+3
-2
+3
-2
@@ -71,8 +71,9 @@ public class TicketValidationService {
|
||||
Assertion a = sv.validate(ticket, confRedirectURI);
|
||||
principal = a.getPrincipal();
|
||||
}
|
||||
catch (TicketValidationException e)
|
||||
Throw new GuacamoleException("Ticket validation failed.", e);
|
||||
catch (TicketValidationException e) {
|
||||
throw new GuacamoleException("Ticket validation failed.", e);
|
||||
}
|
||||
|
||||
return principal.getName();
|
||||
|
||||
|
||||
Reference in new issue
Block a user