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

DuplicateNameException.cs « System.Data « System.Data « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 660840716e3dac2fce3d7ba01d850f978941c765 (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
28
29
30
31
32
//
// System.Data.DuplicateNameException.cs
//
// Author: Duncan Mak  (duncan@ximian.com)
//
// (C) Ximian, Inc.

using System;
using System.Globalization;
using System.Runtime.Serialization;

namespace System.Data {

	[Serializable]
	public class DuplicateNameException : DataException
	{
		public DuplicateNameException ()
			: base (Locale.GetText ("There is a database object with the same name"))
		{
		}

		public DuplicateNameException (string message)
			: base (message)
		{
		}

		protected DuplicateNameException (SerializationInfo info, StreamingContext context)
			: base (info, context)
		{
		}
	}
}