1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using System.Runtime.Serialization;
7
namespace ICSharpCode.AvalonEdit.Xml
10
/// Exception used for internal errors in XML parser.
11
/// This exception indicates a bug in AvalonEdit.
14
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1064:ExceptionsShouldBePublic", Justification = "This exception is not public because it is not supposed to be caught by user code - it indicates a bug in AvalonEdit.")]
15
class InternalException : Exception
18
/// Creates a new InternalException instance.
20
public InternalException() : base()
25
/// Creates a new InternalException instance.
27
public InternalException(string message) : base(message)
32
/// Creates a new InternalException instance.
34
public InternalException(string message, Exception innerException) : base(message, innerException)
39
/// Creates a new InternalException instance.
41
protected InternalException(SerializationInfo info, StreamingContext context) : base(info, context)