mh_frame_sps/APT.Infrastructure.Core/Structs/CodeException.cs

39 lines
725 B
C#
Raw Permalink Normal View History

2026-04-07 13:47:52 +08:00
using System;
using System.Collections.Generic;
using System.Text;
namespace APT.Infrastructure.Core
{
public class CodeException: Exception
{
public string _code = null;
public string Code
{
get { return _code; }
set { _code = value; }
}
public CodeException()
{
}
public CodeException(string message) : this(string.Empty, message, null)
{
}
public CodeException(string code, string message):this(code,message,null)
{
}
public CodeException(string message, Exception innerException):this(string.Empty,message,innerException)
{
}
public CodeException(string code, string message, Exception innerException)
:base(message,innerException)
{
this._code = code;
}
}
}