-
Notifications
You must be signed in to change notification settings - Fork 1
/
ConfigurationException.cs
36 lines (33 loc) · 990 Bytes
/
ConfigurationException.cs
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
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grammophone.Configuration
{
/// <summary>
/// Exception for config or XAML file errors.
/// </summary>
[Serializable]
public class ConfigurationException : Exception
{
/// <summary>
/// Create.
/// </summary>
/// <param name="message">The exception message.</param>
public ConfigurationException(string message) : base(message) { }
/// <summary>
/// Create.
/// </summary>
/// <param name="message">The exception message.</param>
/// <param name="inner">The inner cause of the exception.</param>
public ConfigurationException(string message, Exception inner) : base(message, inner) { }
/// <summary>
/// Used for serialization.
/// </summary>
protected ConfigurationException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context)
{ }
}
}