You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
584 B

using System;
namespace Org.BouncyCastle.Bcpg.OpenPgp
{
/// <remarks>Generic exception class for PGP encoding/decoding problems.</remarks>
#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE)
[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; }
}
}
}