summary refs log tree commit diff
path: root/crypto/src/openpgp/PgpException.cs
blob: cb5ea356970bd1ae0a08d3846e3dfa25f7181b32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Runtime.Serialization;

namespace Org.BouncyCastle.Bcpg.OpenPgp
{
	/// <summary>Generic exception class for PGP encoding/decoding problems.</summary>
    [Serializable]
    public class PgpException
		: Exception
	{
		public PgpException()
			: base()
		{
		}

		public PgpException(string message)
			: base(message)
		{
		}

		public PgpException(string message, Exception innerException)
			: base(message, innerException)
		{
		}

		protected PgpException(SerializationInfo info, StreamingContext context)
			: base(info, context)
		{
		}
	}
}