Package org.bitcoinj.crypto
Class KeyCrypterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.bitcoinj.crypto.KeyCrypterException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
KeyCrypterException.InvalidCipherText
,KeyCrypterException.PublicPrivateMismatch
public class KeyCrypterException extends java.lang.RuntimeException
Exception to provide the following:
- Provision of encryption / decryption exception
This base exception acts as a general failure mode not attributable to a specific cause (other than that reported in the exception message). Since this is in English, it may not be worth reporting directly to the user other than as part of a "general failure to parse" response.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyCrypterException.InvalidCipherText
This exception is thrown when a private key or seed is decrypted, the decrypted message is damaged (e.g.static class
KeyCrypterException.PublicPrivateMismatch
This exception is thrown when a private key or seed is decrypted, it doesn't match its public key any more.
-
Constructor Summary
Constructors Constructor Description KeyCrypterException(java.lang.String message)
KeyCrypterException(java.lang.String message, java.lang.Throwable throwable)
-