diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-09-16 13:00:47 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-09-16 13:00:47 +0200 |
commit | 363358d30b54ad70c92df59b9496dcdda5becc79 (patch) | |
tree | b20fdc1c3bae2eac660b92cb223a5fa7d89807a2 /OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpError.java | |
parent | 4e23cf2edc27903b0fa875dd55c48aafe99b83c7 (diff) | |
download | open-keychain-363358d30b54ad70c92df59b9496dcdda5becc79.tar.gz open-keychain-363358d30b54ad70c92df59b9496dcdda5becc79.tar.bz2 open-keychain-363358d30b54ad70c92df59b9496dcdda5becc79.zip |
Better error handling
Diffstat (limited to 'OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpError.java')
-rw-r--r-- | OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpError.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpError.java b/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpError.java index 66f168d89..f108d3169 100644 --- a/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpError.java +++ b/OpenPGP-Keychain/src/org/openintents/openpgp/OpenPgpError.java @@ -20,8 +20,10 @@ import android.os.Parcel; import android.os.Parcelable; public class OpenPgpError implements Parcelable { - public static final int ID_NO_OR_WRONG_PASSPHRASE = 1; - public static final int ID_NO_USER_IDS = 2; + public static final int GENERIC_ERROR = 0; + public static final int NO_OR_WRONG_PASSPHRASE = 1; + public static final int NO_USER_IDS = 2; + public static final int USER_INTERACTION_REQUIRED = 3; int errorId; String message; |