www.pudn.com > despop3client_demo.zip > Pop3ReceiveException.cs
using System;
namespace Pop3
{
public class Pop3ReceiveException : Exception
{
private string m_exceptionString;
public Pop3ReceiveException(): base()
{
m_exceptionString = null;
}
public Pop3ReceiveException(string exceptionString): base()
{
m_exceptionString = exceptionString;
}
public Pop3ReceiveException(string exceptionString,
Exception ex) : base(exceptionString,ex)
{
}
public override string ToString()
{
return m_exceptionString;
}
}
}