-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
HostFxrResolutionException.cs
45 lines (41 loc) · 1.27 KB
/
HostFxrResolutionException.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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.DotNet.NativeWrapper
{
/// <summary>
/// An instance of this exception is thrown when hostfxr fails to be loaded
/// by the native bundler due to problems finding its path.
/// </summary>
public class HostFxrResolutionException : Exception
{
internal HostFxrResolutionException()
: base()
{
}
internal HostFxrResolutionException(string message)
: base(message)
{
}
}
/// <summary>
/// The path specified by HOSTFXR_PATH points to a file which could not be loaded.
/// </summary>
public sealed class HostFxrNotFoundException : HostFxrResolutionException
{
public HostFxrNotFoundException(string message)
: base(message)
{
}
}
/// <summary>
/// Runtime property HOSTFXR_PATH was not set or empty. This property should have been
/// set by the muxer.
/// </summary>
public sealed class HostFxrRuntimePropertyNotSetException : HostFxrResolutionException
{
public HostFxrRuntimePropertyNotSetException()
: base()
{
}
}
}