update documentation

This commit is contained in:
John Freed 2021-08-18 11:25:30 +02:00
parent c39b5450ff
commit b846fbe764
3 changed files with 41 additions and 11 deletions

View file

@ -1549,6 +1549,10 @@ public class Manager implements Closeable {
serviceEnvironmentConfig.getCdsMrenclave());
} catch (Quote.InvalidQuoteFormatException | UnauthenticatedQuoteException | SignatureException | UnauthenticatedResponseException | InvalidKeyException e) {
throw new IOException(e.getMessage());
/* the NumberFormatException is from Java; see SignalServiceAccountManager.java
* in the package org.whispersystems.signalservice.api
*/
} catch (NumberFormatException e) {
throw new InvalidNumberException(e.getMessage());
}