forked from dotnet/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BuildErrorException.cs
32 lines (27 loc) · 999 Bytes
/
BuildErrorException.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
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
namespace Microsoft.NET.Build.Tasks
{
/// <summary>
/// Represents an error that is neither avoidable in all cases nor indicative of a bug in this library.
/// It will be logged as a plain build error without the exception type or stack.
/// </summary>
internal class BuildErrorException : Exception
{
public BuildErrorException()
{
}
public BuildErrorException(string message) : base(message)
{
}
public BuildErrorException(string message, Exception innerException) : base(message, innerException)
{
}
public BuildErrorException(string format, params string[] args)
: this(string.Format(CultureInfo.CurrentCulture, format, args))
{
}
}
}