-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathParseValueException.cs
More file actions
40 lines (35 loc) · 1.41 KB
/
ParseValueException.cs
File metadata and controls
40 lines (35 loc) · 1.41 KB
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
37
38
39
40
using System;
namespace CSharpTypes;
[System.Serializable]
public class ParseValueException : FormatException
{
/// <summary>
/// Initializes a new instance of the <see cref="T:MyException"/> class
/// </summary>
public ParseValueException()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="T:MyException"/> class
/// </summary>
/// <param name="message">A <see cref="T:System.String"/> that describes the exception. </param>
public ParseValueException(string message) : base(message)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="T:MyException"/> class
/// </summary>
/// <param name="message">A <see cref="T:System.String"/> that describes the exception. </param>
/// <param name="inner">The exception that is the cause of the current exception. </param>
public ParseValueException(string message, Exception inner) : base(message, inner)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="T:MyException"/> class
/// </summary>
/// <param name="context">The contextual information about the source or destination.</param>
/// <param name="info">The object that holds the serialized object data.</param>
protected ParseValueException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
{
}
}