1 type derived from PluginException
NuGet.Credentials (1)
PluginUnexpectedStatusException.cs (1)
14public class PluginUnexpectedStatusException : PluginException
9 instantiations of PluginException
NuGet.Credentials (9)
PluginException.cs (7)
52return new PluginException( 70return new PluginException( 86return new PluginException(string.Format(CultureInfo.CurrentCulture, Resources.PluginException_NotStarted_Format, path)); 108return new PluginException(string.Format(CultureInfo.CurrentCulture, Resources.PluginException_PathNotFound_Format, path, 125return new PluginException(string.Format(CultureInfo.CurrentCulture, Resources.PluginException_Abort_Format, path, message)); 143return new PluginException(string.Format( 172return 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)
17/// Initializes a new instance of the <see cref="PluginException"/> class. 22/// Initializes a new instance of the <see cref="PluginException"/> class with an error message. 28/// Initializes a new instance of the <see cref="PluginException"/> class with an error message and inner exception. 40public static PluginException Create(string path, Exception inner) 63public static PluginException CreateTimeoutMessage(string path, int timeoutMillis) 79public static PluginException CreateNotStartedMessage(string path) 96public static PluginException CreatePathNotFoundMessage(string path, string attempted) 118public static PluginException CreateAbortMessage(string path, string? message) 134public static PluginException CreateUnreadableResponseExceptionMessage( 157public static PluginException CreateInvalidResponseExceptionMessage(
PluginUnexpectedStatusException.cs (1)
40public static PluginException CreateUnexpectedStatusMessage(