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.
25 lines
514 B
25 lines
514 B
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|