-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathValidationException.cs
34 lines (31 loc) · 1.06 KB
/
ValidationException.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
using System;
namespace MvvmValidation
{
/// <summary>
/// Represents an exception that occurs during validation
/// </summary>
public class ValidationException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="ValidationException"/> class.
/// </summary>
public ValidationException()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ValidationException"/> class.
/// </summary>
/// <param name="message">The message.</param>
public ValidationException(string message) : base(message)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ValidationException"/> class.
/// </summary>
/// <param name="message">The message.</param>
/// <param name="innerException">The inner exception.</param>
public ValidationException(string message, Exception innerException) : base(message, innerException)
{
}
}
}