Welcome to mirror list, hosted at ThFree Co, Russian Federation.

XmlSyntaxException.cs « System.Security « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 91e2c5bc9fa173e4ef0630a5c2b864ae5766e6de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// System.Security.XmlSyntaxException.cs
//
// Author:
//   Nick Drochak(ndrochak@gol.com)
//
// (C) Nick Drochak
//

using System.Globalization;

namespace System.Security {
	[Serializable]
	public sealed class XmlSyntaxException : SystemException {
	
		// Constructors
		public XmlSyntaxException(){}
		public XmlSyntaxException(int lineNumber)
			: base (Locale.GetText("Invalid syntax on line ") + lineNumber.ToString() + "."){}
		public XmlSyntaxException(int lineNumber, string message)
			: base (Locale.GetText("Invalid syntax on line ") + lineNumber.ToString() + " - " + message ){}
		public XmlSyntaxException(string message) 
			: base (message){}
		public XmlSyntaxException(string message, Exception inner) 
			: base (message, inner) {}
	}
}