1 type derived from PluginException
NuGet.Credentials (1)
PluginUnexpectedStatusException.cs (1)
19
public class PluginUnexpectedStatusException :
PluginException
9 instantiations of PluginException
NuGet.Credentials (9)
PluginException.cs (7)
63
return new
PluginException
(
81
return new
PluginException
(
97
return new
PluginException
(string.Format(CultureInfo.CurrentCulture, Resources.PluginException_NotStarted_Format, path));
119
return new
PluginException
(string.Format(CultureInfo.CurrentCulture, Resources.PluginException_PathNotFound_Format, path,
136
return new
PluginException
(string.Format(CultureInfo.CurrentCulture, Resources.PluginException_Abort_Format, path, message));
154
return new
PluginException
(string.Format(
183
return new
PluginException
(string.Format(
SecurePluginCredentialProvider.cs (2)
126
throw new
PluginException
(creationMessage, creationResult.Exception); // Throwing here will block authentication and ensure that the complete operation fails.
165
throw new
PluginException
(
18 references to PluginException
NuGet.Credentials (18)
PluginCredentialProvider.cs (7)
155
catch (
PluginException
)
161
throw
PluginException
.Create(Path, e);
225
throw
PluginException
.CreateUnreadableResponseExceptionMessage(Path, status);
233
throw
PluginException
.CreateInvalidResponseExceptionMessage(
248
throw
PluginException
.CreateAbortMessage(Path, credentialResponse.Message);
266
throw
PluginException
.CreateNotStartedMessage(Path);
294
throw
PluginException
.CreateTimeoutMessage(Path, TimeoutSeconds);
PluginException.cs (10)
18
/// Initializes a new instance of the <see cref="
PluginException
"/> class.
23
/// Initializes a new instance of the <see cref="
PluginException
"/> class with an error message.
29
/// Initializes a new instance of the <see cref="
PluginException
"/> class with an error message and inner exception.
51
public static
PluginException
Create(string path, Exception inner)
74
public static
PluginException
CreateTimeoutMessage(string path, int timeoutMillis)
90
public static
PluginException
CreateNotStartedMessage(string path)
107
public static
PluginException
CreatePathNotFoundMessage(string path, string attempted)
129
public static
PluginException
CreateAbortMessage(string path, string? message)
145
public static
PluginException
CreateUnreadableResponseExceptionMessage(
168
public static
PluginException
CreateInvalidResponseExceptionMessage(
PluginUnexpectedStatusException.cs (1)
57
public static
PluginException
CreateUnexpectedStatusMessage(