com.didisoft.pgp.exceptions
Class WrongPrivateKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by lw.bouncycastle.openpgp.PGPException
              extended by com.didisoft.pgp.PGPException
                  extended by com.didisoft.pgp.exceptions.WrongPrivateKeyException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoPrivateKeyFoundException

public class WrongPrivateKeyException
extends PGPException

This exception indicates that we have supplied a wrong decryption private key for an OpenPGP archive.

Since:
2.5.5
See Also:
Serialized Form

Constructor Summary
WrongPrivateKeyException(java.lang.String message)
           
WrongPrivateKeyException(java.lang.String message, java.lang.Exception underlying)
           
 
Method Summary
 
Methods inherited from class lw.bouncycastle.openpgp.PGPException
getCause, getUnderlyingException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrongPrivateKeyException

public WrongPrivateKeyException(java.lang.String message)

WrongPrivateKeyException

public WrongPrivateKeyException(java.lang.String message,
                                java.lang.Exception underlying)


Copyright © 2006-2017 DidiSoft Ltd. All Rights Reserved.