net.java.sip.communicator.service.credentialsstorage
Class CryptoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.java.sip.communicator.service.credentialsstorage.CryptoException
- All Implemented Interfaces:
- Serializable
public class CryptoException
- extends Exception
Exception thrown by the Crypto encrypt/decrypt interface methods.
- Author:
- Dmitri Melnikov
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ENCRYPTION_ERROR
public static final int ENCRYPTION_ERROR
- Set when encryption fails.
- See Also:
- Constant Field Values
DECRYPTION_ERROR
public static final int DECRYPTION_ERROR
- Set when decryption fails.
- See Also:
- Constant Field Values
WRONG_KEY
public static final int WRONG_KEY
- Set when a decryption fail is caused by the wrong key.
- See Also:
- Constant Field Values
CryptoException
public CryptoException(int code,
Exception cause)
- Constructs the crypto exception.
- Parameters:
code - the error codecause - the original exception that this instance wraps
getErrorCode
public int getErrorCode()
- Returns:
- the error code for the exception.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.