pass IO exceptions down through confirm

This commit is contained in:
Dave
2015-09-06 20:27:00 +02:00
parent 3058f440d3
commit a96ea6c130

View File

@@ -123,7 +123,7 @@ public final class NoSession implements Serializable {
try { try {
confirmed = NoUser.createUserFromFile(confirmData, password); confirmed = NoUser.createUserFromFile(confirmData, password);
} catch (IOException e) { } catch (IOException e) {
throw new NoUserNotValidException(); throw new NoUserNotValidException(e);
} catch (IllegalBlockSizeException e) { } catch (IllegalBlockSizeException e) {
throw new NoUserNotValidException(); throw new NoUserNotValidException();
} catch (BadPaddingException e) { } catch (BadPaddingException e) {