mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17: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);
|
Assertion a = sv.validate(ticket, confRedirectURI);
|
||||||
principal = a.getPrincipal();
|
principal = a.getPrincipal();
|
||||||
}
|
}
|
||||||
catch (TicketValidationException e)
|
catch (TicketValidationException e) {
|
||||||
Throw new GuacamoleException("Ticket validation failed.", e);
|
throw new GuacamoleException("Ticket validation failed.", e);
|
||||||
|
}
|
||||||
|
|
||||||
return principal.getName();
|
return principal.getName();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user