GUACAMOLE-362: Fix style and error messages.
This commit is contained in:
1 parent
bd57938dff
commit
ab41f44100
2 files changed
+3
-2
No files matched your search
+1
@@ -63,6 +63,7 @@ public class TicketValidationService {
|
||||
*
|
||||
* @param ticket
|
||||
* The ID ticket to validate and parse.
|
||||
*
|
||||
* @param credentials
|
||||
* The Credentials object to store retrieved username and
|
||||
* password values in.
|
||||
|
||||
+2
-2
@@ -70,10 +70,10 @@ public abstract class PrivateKeyGuacamoleProperty implements GuacamoleProperty<P
|
||||
throw new GuacamoleServerException("Could not read in the specified key file.", 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) {
|
||||
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