com.didisoft.pgp
Class PGPException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DetachedSignatureException, FileIsEncryptedException, FileIsPBEEncryptedException, IntegrityCheckException, KeyIsExpiredException, KeyIsRevokedException, NonPGPDataException, NoPublicKeyFoundException, WrongPasswordException, WrongPrivateKeyException

public class PGPException
extends lw.bouncycastle.openpgp.PGPException

Exception indicating that an OpenPGP encryption error has occurred

See Also:
Serialized Form

Constructor Summary
PGPException(java.lang.String message)
          Constructs the exception from a string message
PGPException(java.lang.String message, java.lang.Exception e)
          Constructs the exception from a string message and another exception
 
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

PGPException

public PGPException(java.lang.String message)
Constructs the exception from a string message

Parameters:
message - error text

PGPException

public PGPException(java.lang.String message,
                    java.lang.Exception e)
Constructs the exception from a string message and another exception

Parameters:
message - error text
e - inner exception


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