Cryptix OpenPGP

cryptix.openpgp
Class PGPException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycryptix.openpgp.PGPException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PGPAbstractDataFormatException, PGPDecryptionFailedException, PGPKeyIDCollisionException, PGPWrongPassphraseException

public abstract class PGPException
extends java.lang.Exception

Generic superclass for all exceptions in Cryptix OpenPGP.

This exception will never be thrown directly, Cryptix OpenPGP will only throw subclasses of this class.

Version:
$Revision: 1.2 $
Author:
Edwin Woudt (edwin@cryptix.org)
See Also:
Serialized Form

Constructor Summary
PGPException()
          Constructs an exception without a specific error message.
PGPException(java.lang.String msg)
          Constructs an exception with the specified error message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

PGPException

public PGPException()
Constructs an exception without a specific error message.


PGPException

public PGPException(java.lang.String msg)
Constructs an exception with the specified error message.

Parameters:
msg - the error message.

Cryptix OpenPGP

Copyright (C) 1999-2003 The Cryptix Foundation Ltd.