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)
880throw new LoggerException(taskException.Message, taskException);
Logging\BaseConsoleLogger.cs (1)
1040throw new LoggerException(message, null, errorCode, helpKeyword);
Logging\BinaryLogger\BinaryLogger.cs (4)
192throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", "")); 217throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", parameter)); 403throw new LoggerException(message, e, errorCode, helpKeyword); 695throw 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)
230throw new LoggerException(message, e.InnerException); 240throw 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)
4081throw 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)
928/// <exception cref="LoggerException"> A logger may throw a logger exception when shutting down</exception> 1112/// <exception cref="LoggerException">If a logger exception is thrown while creating or initializing the distributed or central logger</exception> 1554/// <exception cref="LoggerException">Errors during logger shutdown may throw a LoggerException, in this case the exception is re-thrown</exception> 1561catch (Exception e) when (!ExceptionHandling.IsCriticalException(e) && e is not LoggerException) 1872/// <exception cref="LoggerException">A logger exception thrown by a logger when its initialize call is made</exception> 1901catch (Exception e) when (!ExceptionHandling.IsCriticalException(e) && e is not LoggerException)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
873if (type == typeof(LoggerException))
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1785catch (Exception e) when (e is not LoggerException && e is not InternalLoggerException && !ExceptionHandling.NotExpectedReflectionException(e))
Definition\ProjectCollection.cs (1)
1852catch (LoggerException)
Logging\BinaryLogger\BinaryLogger.cs (2)
177/// <exception cref="LoggerException">Thrown when the parameters string contains invalid parameters.</exception> 646/// <exception cref="LoggerException">
Logging\LoggerDescription.cs (2)
172when (!(e is LoggerException /* Polite logger Failure*/ || e is InternalLoggerException /* LoggerClass not found*/ || ExceptionHandling.IsCriticalException(e))) 232catch (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)
1213catch (LoggerException e) 1944if (exception is LoggerException or InternalLoggerException or ProjectCacheException) 4401catch (LoggerException)