16 instantiations of LoggerException
Microsoft.Build (15)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
39new(typeof(LoggerException), (msg, inner) => new LoggerException(msg, inner)),
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
884throw new LoggerException(taskException.Message, taskException);
Logging\BaseConsoleLogger.cs (1)
1040throw new LoggerException(message, null, errorCode, helpKeyword);
Logging\BinaryLogger\BinaryLogger.cs (4)
190throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", "")); 215throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", parameter)); 401throw new LoggerException(message, e, errorCode, helpKeyword); 693throw new LoggerException(message, e, errorCode, helpKeyword);
Logging\DistributedLoggers\DistributedFileLogger.cs (2)
76throw new LoggerException(message); 125throw new LoggerException(message, e, errorCode, helpKeyword);
Logging\FileLogger.cs (3)
127throw new LoggerException(message, e.InnerException, errorCode, helpKeyword); 156throw new LoggerException(message, ex.InnerException, errorCode, helpKeyword); 223throw new LoggerException(ex.Message, ex.InnerException, "MSB4128", null);
Logging\LoggerDescription.cs (2)
226throw new LoggerException(message, e.InnerException); 236throw new LoggerException(le.Message, le, le.ErrorCode, le.HelpKeyword);
Logging\TerminalLogger\TerminalLogger.cs (1)
524throw new LoggerException(message, null, errorCode, helpKeyword);
MSBuild (1)
XMake.cs (1)
3719throw new LoggerException(e.Message, e);
37 references to LoggerException
dotnet-watch (1)
CommandLine\CommandLineOptions.cs (1)
187catch (Build.Framework.LoggerException e)
Microsoft.Build (18)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
39new(typeof(LoggerException), (msg, inner) => new LoggerException(msg, inner)),
BackEnd\Components\Logging\EventSourceSink.cs (4)
231/// <exception cref="LoggerException">When EventHandler raises an logger exception the LoggerException is rethrown</exception> 307catch (LoggerException) 400/// <exception cref="LoggerException">When EventHandler raises an logger exception the LoggerException is rethrown</exception> 411catch (LoggerException exception)
BackEnd\Components\Logging\LoggingService.cs (6)
927/// <exception cref="LoggerException"> A logger may throw a logger exception when shutting down</exception> 1111/// <exception cref="LoggerException">If a logger exception is thrown while creating or initializing the distributed or central logger</exception> 1506/// <exception cref="LoggerException">Errors during logger shutdown may throw a LoggerException, in this case the exception is re-thrown</exception> 1513catch (Exception e) when (!ExceptionHandling.IsCriticalException(e) && e is not LoggerException) 1824/// <exception cref="LoggerException">A logger exception thrown by a logger when its initialize call is made</exception> 1853catch (Exception e) when (!ExceptionHandling.IsCriticalException(e) && e is not LoggerException)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
877if (type == typeof(LoggerException))
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1457catch (Exception e) when (e is not LoggerException && e is not InternalLoggerException && !ExceptionHandling.NotExpectedReflectionException(e))
Definition\ProjectCollection.cs (1)
1802catch (LoggerException)
Logging\BinaryLogger\BinaryLogger.cs (2)
175/// <exception cref="LoggerException">Thrown when the parameters string contains invalid parameters.</exception> 644/// <exception cref="LoggerException">
Logging\LoggerDescription.cs (2)
170when (!(e is LoggerException /* Polite logger Failure*/ || e is InternalLoggerException /* LoggerClass not found*/ || ExceptionHandling.IsCriticalException(e))) 228catch (TargetInvocationException e) when (e.InnerException is LoggerException le)
Microsoft.Build.Utilities.Core (15)
MuxLogger.cs (15)
644catch (LoggerException) 689catch (LoggerException) 732catch (LoggerException) 772catch (LoggerException) 817catch (LoggerException) 875catch (LoggerException) 917catch (LoggerException) 959catch (LoggerException) 1001catch (LoggerException) 1043catch (LoggerException) 1085catch (LoggerException) 1127catch (LoggerException) 1174catch (LoggerException) 1233catch (LoggerException) 1279catch (LoggerException)
MSBuild (3)
XMake.cs (3)
968catch (LoggerException e) 1701if (exception is LoggerException or InternalLoggerException or ProjectCacheException) 4039catch (LoggerException)