using System; using System.Linq; using System.Collections.Generic; using System.Text; namespace Common.Exceptions { public class NotSupportedFormatException : Exception { public NotSupportedFormatException(Type targetType) { TypeName = targetType.Name; } string TypeName = ""; public override string Message { get { return "不受支持的数据类型!" + TypeName; } } } }