fixed bugs

removed some error reporting in cases where the errors are somewhat expected and handled
This commit is contained in:
Philipp Crocoll
2016-01-29 22:09:22 +01:00
parent a2be64d1cb
commit 3b5c28c02a
12 changed files with 70 additions and 37 deletions

View File

@@ -83,6 +83,8 @@ namespace keepass2android
}
catch (Java.Lang.Exception e)
{
if (e.Message == "Invalid key!")
throw new InvalidCompositeKeyException();
throw new Exception(e.LocalizedMessage ??
e.Message ??
e.GetType().Name, e);