fixed symmetric decrypting, stream didn't support .reset(), I guess, so now creating fresh streams where needed, and changed exception string to "" + e, rather than getMessage(), as that still can be null... annoying.

This commit is contained in:
Thialfihar
2010-05-21 02:47:40 +00:00
parent e5573973e7
commit 2c784554c7
7 changed files with 32 additions and 33 deletions

View File

@@ -465,7 +465,7 @@ public class Apg {
} catch (UserIdEditor.NoEmailException e) {
throw new Apg.GeneralException(context.getString(R.string.error_userIdNeedsAnEmailAddress));
} catch (UserIdEditor.InvalidEmailException e) {
throw new Apg.GeneralException(e.getMessage());
throw new Apg.GeneralException("" + e);
}
if (userId.equals("")) {