-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathDfuFileDoesNotExistException.cs
50 lines (45 loc) · 1.5 KB
/
DfuFileDoesNotExistException.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
using System;
using System.Runtime.Serialization;
namespace nanoFramework.Tools.FirmwareFlasher
{
/// <summary>
/// The DFU file specified does not exist.
/// </summary>
[Serializable]
public class DfuFileDoesNotExistException : Exception
{
/// <summary>
/// DFU file does not exist exception.
/// </summary>
public DfuFileDoesNotExistException()
{
}
/// <summary>
/// DFU file does not exist exception.
/// </summary>
/// <param name="message">Message to display.</param>
public DfuFileDoesNotExistException(string message) : base(message)
{
}
/// <summary>
/// DFU file does not exist exception.
/// </summary>
/// <param name="message">Message to display.</param>
/// <param name="innerException">The exception to display.</param>
public DfuFileDoesNotExistException(string message, Exception innerException) : base(message, innerException)
{
}
/// <summary>
/// DFU file does not exist exception.
/// </summary>
/// <param name="info">Serialized information.</param>
/// <param name="context">Streamed context.</param>
protected DfuFileDoesNotExistException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
}