The Labs \ Source Viewer \ SSCLI \ System.Xml.Schema \ XmlSchemaInferenceException

  1. //------------------------------------------------------------------------------
  2. // <copyright file="XmlSchemaInferenceException.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. // <owner current="true" primary="true">priyal</owner>
  15. // <owner current="false" primary="false">nithyas</owner>
  16. //------------------------------------------------------------------------------
  17. namespace System.Xml.Schema
  18. {
  19.     using System;
  20.     using System.IO;
  21.     using System.Resources;
  22.     using System.Runtime.Serialization;
  23.     using System.Text;
  24.     using System.Diagnostics;
  25.     using System.Security.Permissions;
  26.     using System.Globalization;
  27.    
  28.     [Serializable()]
  29.     public class XmlSchemaInferenceException : XmlSchemaException
  30.     {
  31.        
  32.        
  33.         protected XmlSchemaInferenceException(SerializationInfo info, StreamingContext context) : base(info, context)
  34.         {
  35.         }
  36.        
  37.        
  38.         [SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
  39.         public override void GetObjectData(SerializationInfo info, StreamingContext context)
  40.         {
  41.             base.GetObjectData(info, context);
  42.            
  43.         }
  44.        
  45.         public XmlSchemaInferenceException() : base(null)
  46.         {
  47.         }
  48.        
  49.        
  50.         public XmlSchemaInferenceException(string message) : base(message, ((Exception)null), 0, 0)
  51.         {
  52.         }
  53.        
  54.         public XmlSchemaInferenceException(string message, Exception innerException) : base(message, innerException, 0, 0)
  55.         {
  56.         }
  57.        
  58.         /// <include file='doc\XmlSchemaException.uex' path='docs/doc[@for="XmlSchemaException.XmlSchemaException3"]/*' />
  59.         public XmlSchemaInferenceException(string message, Exception innerException, int lineNumber, int linePosition) : base(message, innerException, lineNumber, linePosition)
  60.         {
  61.         }
  62.        
  63.         internal XmlSchemaInferenceException(string res, string[] args) : base(res, args, null, null, 0, 0, null)
  64.         {
  65.         }
  66.        
  67.         internal XmlSchemaInferenceException(string res, string arg) : base(res, new string[] {arg}, null, null, 0, 0, null)
  68.         {
  69.         }
  70.         internal XmlSchemaInferenceException(string res, string arg, string sourceUri, int lineNumber, int linePosition) : base(res, new string[] {arg}, null, sourceUri, lineNumber, linePosition, null)
  71.         {
  72.         }
  73.        
  74.         internal XmlSchemaInferenceException(string res, string sourceUri, int lineNumber, int linePosition) : base(res, (string[])null, null, sourceUri, lineNumber, linePosition, null)
  75.         {
  76.         }
  77.        
  78.         internal XmlSchemaInferenceException(string res, string[] args, string sourceUri, int lineNumber, int linePosition) : base(res, args, null, sourceUri, lineNumber, linePosition, null)
  79.         {
  80.         }
  81.        
  82.         internal XmlSchemaInferenceException(string res, int lineNumber, int linePosition) : base(res, null, null, null, lineNumber, linePosition, null)
  83.         {
  84.            
  85.            
  86.         }
  87.        
  88.        
  89.     }
  90. }
  91. // namespace System.Xml.Schema

Developer Fusion