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.
26 lines
514 B
26 lines
514 B
4 years ago
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|