-
Notifications
You must be signed in to change notification settings - Fork 315
/
CommunicationException.cs
41 lines (37 loc) · 1.39 KB
/
CommunicationException.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.Interfaces
{
using System;
/// <summary>
/// Exception thrown when communication on a channel fails.
/// </summary>
public class CommunicationException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="CommunicationException" /> class.
/// </summary>
public CommunicationException()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="CommunicationException" /> class with provided
/// message.
/// </summary>
/// <param name="message">Message describing the error.</param>
public CommunicationException(string message)
: base(message)
{
}
/// <summary>
/// Initializes a new instance of the <see cref="CommunicationException" /> class with provided
/// message and inner exception.
/// </summary>
/// <param name="message">Message describing the error.</param>
/// <param name="inner">Inner exception.</param>
public CommunicationException(string message, Exception inner)
: base(message, inner)
{
}
}
}