mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-204: Fix compile issues - catch() requires braces, and throw should be lower-case.
This commit is contained in:
committed by
Nick Couchman
parent
b278970076
commit
fe6d8e2975
@@ -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