Class 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)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • KeyCrypterException

        public KeyCrypterException​(java.lang.String message)
      • KeyCrypterException

        public KeyCrypterException​(java.lang.String message,
                                   java.lang.Throwable throwable)