Initial Commit
This commit is contained in:
19
iTechSharp/srcbc/openpgp/PgpException.cs
Normal file
19
iTechSharp/srcbc/openpgp/PgpException.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace Org.BouncyCastle.Bcpg.OpenPgp
|
||||
{
|
||||
/// <remarks>Generic exception class for PGP encoding/decoding problems.</remarks>
|
||||
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; }
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user