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:
 Serializable
- Direct Known Subclasses:
 KeyCrypterException.InvalidCipherText,KeyCrypterException.PublicPrivateMismatch
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:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis exception is thrown when a private key or seed is decrypted, the decrypted message is damaged (e.g.static classThis exception is thrown when a private key or seed is decrypted, it doesn't match its public key any more. - 
Constructor Summary
ConstructorsConstructorDescriptionKeyCrypterException(String message) KeyCrypterException(String message, Throwable throwable)  - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
KeyCrypterException
 - 
KeyCrypterException
 
 -