using System; namespace Org.BouncyCastle.Bcpg.OpenPgp { /// Generic exception class for PGP encoding/decoding problems. #if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT) [Serializable] #endif public class PgpException : Exception { public PgpException() : base() {} public PgpException(string message) : base(message) {} public PgpException(string message, Exception exception) : base(message, exception) {} [Obsolete("Use InnerException property")] public Exception UnderlyingException { get { return InnerException; } } } }