37 references to GracefulException
dotnet-aot (20)
parent\dotnet\CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (2)
88
throw new
GracefulException
(string.Format(CliStrings.NeedRunToolRestore,
97
throw new
GracefulException
(string.Format(CliStrings.NeedRunToolRestore,
parent\dotnet\Commands\Sdk\Check\ProductCollectionProvider.cs (1)
23
throw new
GracefulException
(string.Format(CliCommandStrings.ReleasesLibraryFailed, e.Message));
parent\dotnet\Commands\Solution\Migrate\SolutionMigrateCommand.cs (1)
31
throw new
GracefulException
(CliCommandStrings.CannotMigrateSlnx);
parent\dotnet\Commands\Solution\Remove\SolutionRemoveCommand.cs (1)
33
throw new
GracefulException
(CliStrings.SpecifyAtLeastOneProjectToRemove);
parent\dotnet\Commands\Solution\SolutionArgumentValidator.cs (2)
24
throw new
GracefulException
(message);
32
throw new
GracefulException
(CliCommandStrings.SolutionFolderAndInRootMutuallyExclusive);
parent\dotnet\Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (6)
383
throw new
GracefulException
(
391
throw new
GracefulException
(CliCommandStrings.CmdAffectedTestsOptionsMutuallyExclusive);
396
throw new
GracefulException
(CliCommandStrings.CmdCollectTestMapCannotRunModulesInParallel);
402
throw new
GracefulException
(CliCommandStrings.CmdCollectTestMapCannotRequireMinimumTests);
445
throw new
GracefulException
(CliCommandStrings.CmdAffectedTestsResponseFilesMustBeConsistent);
458
throw new
GracefulException
(CliCommandStrings.CmdAffectedTestsResponseFilesMustBeConsistent);
parent\dotnet\Commands\Tool\Search\ToolSearchCommand.cs (1)
129
throw new
GracefulException
(
parent\dotnet\Commands\Tool\ToolCommandSpecCreator.cs (1)
27
throw new
GracefulException
(string.Format(CliStrings.ToolSettingsUnsupportedRunner, toolName, toolRunner));
parent\dotnet\MsbuildProject.cs (2)
28
: throw new
GracefulException
(error);
219
throw new
GracefulException
(string.Format(
parent\dotnet\NugetPackageDownloader\NuGetPackageDownloader.cs (1)
362
throw new
GracefulException
(string.Format(CliStrings.ResolvedPathEscapesTargetDirectory, fullPath, targetFolder.Value));
parent\dotnet\NugetPackageDownloader\ToolPackageException.cs (1)
16
public NuGetPackageInstallerException(string message) :
base
(message)
parent\dotnet\SlnFileFactory.cs (1)
26
throw new
GracefulException
(CliStrings.CouldNotFindSolutionOrDirectory);
Microsoft.DotNet.Cli.CoreUtils (1)
GracefulException.cs (1)
31
public GracefulException(string format, params string[] args) :
this
(string.Format(format, args))
Microsoft.DotNet.Cli.Definitions (9)
Commands\Package\PackageListCommandDefinition.cs (1)
140
throw new Utils.
GracefulException
(CommandDefinitionStrings.OptionsCannotBeCombined);
Commands\Tool\ToolLocationOptions.cs (2)
49
throw new
GracefulException
(
61
throw new
GracefulException
(
Common\CommonArguments.cs (2)
46
throw new
GracefulException
(CommandDefinitionStrings.PackageIdentityArgumentIdOrVersionIsNull);
56
throw new
GracefulException
(string.Format(CommandDefinitionStrings.InvalidVersion, versionString));
Common\CommonOptions.cs (1)
380
throw new
GracefulException
(CommandDefinitionStrings.SelfContainAndNoSelfContainedConflict);
Common\TargetPlatformOptions.cs (3)
70
throw new
GracefulException
(CommandDefinitionStrings.CannotSpecifyBothRuntimeAndArchOptions);
86
throw new
GracefulException
(CommandDefinitionStrings.CannotSpecifyBothRuntimeAndOsOptions);
121
throw new
GracefulException
(CommandDefinitionStrings.CannotResolveRuntimeIdentifier);
Microsoft.DotNet.Cli.Utils (6)
CommandAvailableAsDotNetToolException.cs (1)
8
public CommandAvailableAsDotNetToolException(string commandName) :
base
(GetMessage(commandName))
CommandUnknownException.cs (2)
10
public CommandUnknownException(string commandName) :
base
(
18
public CommandUnknownException(string commandName, Exception innerException) :
base
(
Extensions\LockFileFormatExtensions.cs (1)
19
throw new
GracefulException
(string.Join(
NuGetSourceConfiguration.cs (1)
135
throw new
GracefulException
(string.Format(
PathUtility.cs (1)
356
throw new
GracefulException
(
Microsoft.TemplateEngine.Cli (1)
NuGet\PackageAvailabilityChecker.cs (1)
64
throw new
GracefulException
(LocalizableStrings.CannotUseAddSourceWithSourceMapping);