19 instantiations of LoggerException
Microsoft.Build (18)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
39new(typeof(LoggerException), (msg, inner) => new LoggerException(msg, inner)),
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
915throw new LoggerException(taskException.Message, taskException);
Logging\BaseConsoleLogger.cs (1)
1040throw new LoggerException(message, null, errorCode, helpKeyword);
Logging\BinaryLogger\BinaryLogger.cs (7)
209throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", "")); 221throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerEventFilter", parameter)); 245throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", parameter)); 261throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerEventFilter", parameter)); 269throw new LoggerException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerEventFilter", parameter)); 503throw new LoggerException(message, e, errorCode, helpKeyword); 849throw 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)
4260throw new LoggerException(e.Message, e);
37 references to LoggerException
dotnet-watch (1)
CommandLine\CommandLineOptions.cs (1)
194catch (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)
929/// <exception cref="LoggerException"> A logger may throw a logger exception when shutting down</exception> 1114/// <exception cref="LoggerException">If a logger exception is thrown while creating or initializing the distributed or central logger</exception> 1573/// <exception cref="LoggerException">Errors during logger shutdown may throw a LoggerException, in this case the exception is re-thrown</exception> 1580catch (Exception e) when (!ExceptionHandling.IsCriticalException(e) && e is not LoggerException) 1891/// <exception cref="LoggerException">A logger exception thrown by a logger when its initialize call is made</exception> 1920catch (Exception e) when (!ExceptionHandling.IsCriticalException(e) && e is not LoggerException)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
908if (type == typeof(LoggerException))
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1885catch (Exception e) when (e is not LoggerException && e is not InternalLoggerException && !ExceptionHandling.NotExpectedReflectionException(e))
Definition\ProjectCollection.cs (1)
1896catch (LoggerException)
Logging\BinaryLogger\BinaryLogger.cs (2)
193/// <exception cref="LoggerException">Thrown when the parameters string contains invalid parameters.</exception> 792/// <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)
1289catch (LoggerException e) 2049if (exception is LoggerException or InternalLoggerException or ProjectCacheException) 4580catch (LoggerException)