blob: 378b16a56333e484bd71efdb8b02034af5b2d7af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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)
[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; }
}
}
}
|