mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUACAMOLE-362: Fix style and error messages.
This commit is contained in:
committed by
Nick Couchman
parent
bd57938dff
commit
ab41f44100
@@ -63,6 +63,7 @@ public class TicketValidationService {
|
|||||||
*
|
*
|
||||||
* @param ticket
|
* @param ticket
|
||||||
* The ID ticket to validate and parse.
|
* The ID ticket to validate and parse.
|
||||||
|
*
|
||||||
* @param credentials
|
* @param credentials
|
||||||
* The Credentials object to store retrieved username and
|
* The Credentials object to store retrieved username and
|
||||||
* password values in.
|
* password values in.
|
||||||
|
@@ -70,10 +70,10 @@ public abstract class PrivateKeyGuacamoleProperty implements GuacamoleProperty<P
|
|||||||
throw new GuacamoleServerException("Could not read in the specified key file.", e);
|
throw new GuacamoleServerException("Could not read in the specified key file.", e);
|
||||||
}
|
}
|
||||||
catch (NoSuchAlgorithmException e) {
|
catch (NoSuchAlgorithmException e) {
|
||||||
throw new GuacamoleServerException("Key is not in expected RSA algorithm.", e);
|
throw new GuacamoleServerException("RSA algorithm is not available.", e);
|
||||||
}
|
}
|
||||||
catch (InvalidKeySpecException e) {
|
catch (InvalidKeySpecException e) {
|
||||||
throw new GuacamoleServerException("KeyS is not in expected PKCS8 encoding.", e);
|
throw new GuacamoleServerException("Key is not in expected PKCS8 encoding.", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user