-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
4,874 additions
and
4,874 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,86 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Runtime.Serialization; | ||
|
||
namespace IDCM.Data.Base | ||
{ | ||
[Serializable] | ||
public class IDCMViewException:IDCMException,ISerializable | ||
{ | ||
// 摘要: | ||
// 初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
protected IDCMViewException() | ||
: base() | ||
{ | ||
} | ||
// | ||
// 摘要: | ||
// 使用指定的错误消息初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
// | ||
// 参数: | ||
// message: | ||
// 为此异常显示的消息。 | ||
public IDCMViewException(string message):base(message) | ||
{ | ||
} | ||
// | ||
// 摘要: | ||
// 用指定的序列化信息和上下文初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
// | ||
// 参数: | ||
// info: | ||
// System.Runtime.Serialization.SerializationInfo,它存有有关所引发异常的序列化的对象数据。 | ||
// | ||
// context: | ||
// System.Runtime.Serialization.StreamingContext,它包含有关源或目标的上下文信息。 | ||
public IDCMViewException(SerializationInfo info, StreamingContext context) | ||
: base(info, context) | ||
{ | ||
} | ||
// | ||
// 摘要: | ||
// 使用指定的错误消息和对导致此异常的内部异常的引用初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
// | ||
// 参数: | ||
// message: | ||
// 错误消息字符串。 | ||
// | ||
// innerException: | ||
// 内部异常引用。 | ||
public IDCMViewException(string message, Exception innerException) | ||
: base(message, innerException) | ||
{ | ||
} | ||
// | ||
// 摘要: | ||
// 使用指定的错误消息和错误代码初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
// | ||
// 参数: | ||
// message: | ||
// 解释异常原因的错误消息。 | ||
// | ||
// errorCode: | ||
// 异常的错误代码。 | ||
public IDCMViewException(string message, int errorCode) | ||
: base(message, errorCode) | ||
{ | ||
} | ||
|
||
// 摘要: | ||
// Adds extra information to the serialized object data specific to this class | ||
// type. This is only used for serialization. | ||
// | ||
// 参数: | ||
// info: | ||
// Holds the serialized object data about the exception being thrown. | ||
// | ||
// context: | ||
// Contains contextual information about the source or destination. | ||
public override void GetObjectData(SerializationInfo info, StreamingContext context) | ||
{ | ||
base.GetObjectData(info, context); | ||
} | ||
} | ||
} | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Runtime.Serialization; | ||
|
||
namespace IDCM.Data.Base | ||
{ | ||
[Serializable] | ||
public class IDCMViewException:IDCMException,ISerializable | ||
{ | ||
// 摘要: | ||
// 初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
protected IDCMViewException() | ||
: base() | ||
{ | ||
} | ||
// | ||
// 摘要: | ||
// 使用指定的错误消息初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
// | ||
// 参数: | ||
// message: | ||
// 为此异常显示的消息。 | ||
public IDCMViewException(string message):base(message) | ||
{ | ||
} | ||
// | ||
// 摘要: | ||
// 用指定的序列化信息和上下文初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
// | ||
// 参数: | ||
// info: | ||
// System.Runtime.Serialization.SerializationInfo,它存有有关所引发异常的序列化的对象数据。 | ||
// | ||
// context: | ||
// System.Runtime.Serialization.StreamingContext,它包含有关源或目标的上下文信息。 | ||
public IDCMViewException(SerializationInfo info, StreamingContext context) | ||
: base(info, context) | ||
{ | ||
} | ||
// | ||
// 摘要: | ||
// 使用指定的错误消息和对导致此异常的内部异常的引用初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
// | ||
// 参数: | ||
// message: | ||
// 错误消息字符串。 | ||
// | ||
// innerException: | ||
// 内部异常引用。 | ||
public IDCMViewException(string message, Exception innerException) | ||
: base(message, innerException) | ||
{ | ||
} | ||
// | ||
// 摘要: | ||
// 使用指定的错误消息和错误代码初始化 IDCM.Data.Base.IDCMViewException 类的新实例。 | ||
// | ||
// 参数: | ||
// message: | ||
// 解释异常原因的错误消息。 | ||
// | ||
// errorCode: | ||
// 异常的错误代码。 | ||
public IDCMViewException(string message, int errorCode) | ||
: base(message, errorCode) | ||
{ | ||
} | ||
|
||
// 摘要: | ||
// Adds extra information to the serialized object data specific to this class | ||
// type. This is only used for serialization. | ||
// | ||
// 参数: | ||
// info: | ||
// Holds the serialized object data about the exception being thrown. | ||
// | ||
// context: | ||
// Contains contextual information about the source or destination. | ||
public override void GetObjectData(SerializationInfo info, StreamingContext context) | ||
{ | ||
base.GetObjectData(info, context); | ||
} | ||
} | ||
} |
Oops, something went wrong.