public class CryptoException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
DECRYPTION_ERROR
Set when decryption fails.
|
static int |
ENCRYPTION_ERROR
Set when encryption fails.
|
static int |
WRONG_KEY
Set when a decryption fail is caused by the wrong key.
|
Constructor and Description |
---|
CryptoException(int code,
java.lang.Exception cause)
Constructs the crypto exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
public static final int ENCRYPTION_ERROR
public static final int DECRYPTION_ERROR
public static final int WRONG_KEY
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.