xmlimportexception.cs

来自「Perst开源实时数据库」· CS 代码 · 共 45 行

CS
45
字号
namespace Perst
{
    using System;
	
    /// <summary> Exception thrown during import of data from XML file in database
    /// </summary>
    public class XMLImportException:ApplicationException
    {
        public virtual System.String MessageText
        {
            get
            {
                return message;
            }
			
        }
        public virtual int Line
        {
            get
            {
                return line;
            }
			
        }
        public virtual int Column
        {
            get
            {
                return column;
            }
			
        }
        public XMLImportException(int line, int column, String message)
            :base("In line " + line + " column " + column + ": " + message)
        {
            this.line = line;
            this.column = column;
            this.message = message;
        }
		
        private int    line;
        private int    column;
        private String message;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?