35 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)
344
throw new
GracefulException
(
352
throw new
GracefulException
(CliCommandStrings.CmdAffectedTestsOptionsMutuallyExclusive);
357
throw new
GracefulException
(CliCommandStrings.CmdCollectTestMapCannotRunModulesInParallel);
363
throw new
GracefulException
(CliCommandStrings.CmdCollectTestMapCannotRequireMinimumTests);
406
throw new
GracefulException
(CliCommandStrings.CmdAffectedTestsResponseFilesMustBeConsistent);
419
throw new
GracefulException
(CliCommandStrings.CmdAffectedTestsResponseFilesMustBeConsistent);
parent\dotnet\Commands\Tool\Search\ToolSearchCommand.cs (1)
59
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)
359
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)
374
throw new
GracefulException
(CommandDefinitionStrings.SelfContainAndNoSelfContainedConflict);
Common\TargetPlatformOptions.cs (3)
69
throw new
GracefulException
(CommandDefinitionStrings.CannotSpecifyBothRuntimeAndArchOptions);
85
throw new
GracefulException
(CommandDefinitionStrings.CannotSpecifyBothRuntimeAndOsOptions);
123
throw new
GracefulException
(CommandDefinitionStrings.CannotResolveRuntimeIdentifier);
Microsoft.DotNet.Cli.Utils (5)
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(
PathUtility.cs (1)
356
throw new
GracefulException
(