1 //---------------------------------------------------------------------
2 // <copyright file="EdmError.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
7 // @backupOwner Microsoft
8 //---------------------------------------------------------------------
13 namespace System.Data.Metadata.Edm
17 /// This class encapsulates the error information for a generic EDM error.
19 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")]
21 public abstract class EdmError
23 #region Instance Fields
24 private string _message = null;
29 /// Constructs a EdmSchemaError object.
31 /// <param name="message">The explanation of the error.</param>
32 /// <param name="errorCode">The code associated with this error.</param>
33 /// <param name="severity">The severity of the error.</param>
34 internal EdmError(string message)
36 EntityUtil.CheckStringArgument(message, "message");
43 /// Gets the error message.