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