mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-26 09:35:38 -05:00
For whatever reason, Visual Studio throws a fit if a referenced project has a name and the folder name (which is used to reference the project) is different than that name. To solve this issue, I've renamed all the projects and folders to match their project names as stated in the project.json.
24 lines
673 B
C#
24 lines
673 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.Hosting.Protocol
|
|
{
|
|
public class MessageParseException : Exception
|
|
{
|
|
public string OriginalMessageText { get; private set; }
|
|
|
|
public MessageParseException(
|
|
string originalMessageText,
|
|
string errorMessage,
|
|
params object[] errorMessageArgs)
|
|
: base(string.Format(errorMessage, errorMessageArgs))
|
|
{
|
|
this.OriginalMessageText = originalMessageText;
|
|
}
|
|
}
|
|
}
|