[Serializable()]
public class ExceptionLog : Exception
{
private bool isLogged;
public bool IsLogged { get { return isLogged; } }
protected ExceptionLog()
: base()
{ }
public ExceptionLog(bool value)
: base()
{
isLogged = value;
}
public ExceptionLog(bool value, string message)
: base(message)
{
isLogged = value;
}
public ExceptionLog(bool value
, string message
, Exception innerException) :
base(message, innerException)
{
isLogged = value;
}
protected ExceptionLog(SerializationInfo info
, StreamingContext context)
: base(info, context)
{ }
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment