summaryrefslogtreecommitdiffstats
path: root/keystore/java/android/security/KeymasterException.java
blob: bc8198f58d72cf0842c59dacee59ae2508967919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package android.security;

/**
 * Keymaster exception.
 *
 * @hide
 */
public class KeymasterException extends Exception {

    private final int mErrorCode;

    public KeymasterException(int errorCode, String message) {
        super(message);
        mErrorCode = errorCode;
    }

    public int getErrorCode() {
        return mErrorCode;
    }
}