You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
895 B
40 lines
895 B
using Apewer.Internals;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
|
|
namespace Apewer
|
|
{
|
|
|
|
/// <summary>冗余异常。</summary>
|
|
public class RedundanceException : Exception
|
|
{
|
|
|
|
private string _name;
|
|
private string _message;
|
|
|
|
/// <summary></summary>
|
|
public RedundanceException(string name)
|
|
{
|
|
_name = name ?? "";
|
|
_message = "";
|
|
}
|
|
|
|
/// <summary></summary>
|
|
public RedundanceException(string name, string message)
|
|
{
|
|
_name = name ?? "";
|
|
_message = message ?? "";
|
|
}
|
|
|
|
/// <summary></summary>
|
|
public string Name { get { return _name; } }
|
|
|
|
/// <summary></summary>
|
|
public override string Message { get { return _message; } }
|
|
|
|
}
|
|
|
|
}
|
|
|