using System;
using System.Runtime.Serialization;
namespace Masuit.Tools.Mapping.Exceptions
{
///
/// 无法执行任何操作时的异常
///
///
[Serializable]
public class NoActionAfterMappingException : MapperExceptionBase
{
///
/// 构造函数
///
public NoActionAfterMappingException() : base("无法执行操作,因为操作未定义")
{
}
///
/// 构造函数
///
/// 序列化信息
/// 上下文
protected NoActionAfterMappingException(SerializationInfo serializer, StreamingContext context) : base(serializer, context)
{
}
///
/// 构造函数
///
/// 异常信息
public NoActionAfterMappingException(string exceptionMessage) : base(exceptionMessage)
{
}
///
/// 构造函数
///
/// 异常信息
/// 内部异常
public NoActionAfterMappingException(string exceptionMessage, Exception innerException) : base(exceptionMessage, innerException)
{
}
}
}