16 instantiations of LoggerException
Microsoft.Build (15)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
39
new(typeof(LoggerException), (msg, inner) => new
LoggerException
(msg, inner)),
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
880
throw new
LoggerException
(taskException.Message, taskException);
Logging\BaseConsoleLogger.cs (1)
1040
throw new
LoggerException
(message, null, errorCode, helpKeyword);
Logging\BinaryLogger\BinaryLogger.cs (4)
192
throw new
LoggerException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", ""));
217
throw new
LoggerException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", parameter));
403
throw new
LoggerException
(message, e, errorCode, helpKeyword);
695
throw new
LoggerException
(message, e, errorCode, helpKeyword);
Logging\DistributedLoggers\DistributedFileLogger.cs (2)
76
throw new
LoggerException
(message);
125
throw new
LoggerException
(message, e, errorCode, helpKeyword);
Logging\FileLogger.cs (3)
127
throw new
LoggerException
(message, e.InnerException, errorCode, helpKeyword);
156
throw new
LoggerException
(message, ex.InnerException, errorCode, helpKeyword);
223
throw new
LoggerException
(ex.Message, ex.InnerException, "MSB4128", null);
Logging\LoggerDescription.cs (2)
230
throw new
LoggerException
(message, e.InnerException);
240
throw new
LoggerException
(le.Message, le, le.ErrorCode, le.HelpKeyword);
Logging\TerminalLogger\TerminalLogger.cs (1)
524
throw new
LoggerException
(message, null, errorCode, helpKeyword);
MSBuild (1)
XMake.cs (1)
4081
throw new
LoggerException
(e.Message, e);
37 references to LoggerException
dotnet-watch (1)
CommandLine\CommandLineOptions.cs (1)
187
catch (Build.Framework.
LoggerException
e)
Microsoft.Build (18)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
39
new(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>
307
catch (
LoggerException
)
400
/// <exception cref="
LoggerException
">When EventHandler raises an logger exception the LoggerException is rethrown</exception>
411
catch (
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>
1561
catch (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>
1901
catch (Exception e) when (!ExceptionHandling.IsCriticalException(e) && e is not
LoggerException
)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
873
if (type == typeof(
LoggerException
))
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1785
catch (Exception e) when (e is not
LoggerException
&& e is not InternalLoggerException && !ExceptionHandling.NotExpectedReflectionException(e))
Definition\ProjectCollection.cs (1)
1852
catch (
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)
172
when (!(e is
LoggerException
/* Polite logger Failure*/ || e is InternalLoggerException /* LoggerClass not found*/ || ExceptionHandling.IsCriticalException(e)))
232
catch (TargetInvocationException e) when (e.InnerException is
LoggerException
le)
Microsoft.Build.Utilities.Core (15)
MuxLogger.cs (15)
644
catch (
LoggerException
)
689
catch (
LoggerException
)
732
catch (
LoggerException
)
772
catch (
LoggerException
)
817
catch (
LoggerException
)
875
catch (
LoggerException
)
917
catch (
LoggerException
)
959
catch (
LoggerException
)
1001
catch (
LoggerException
)
1043
catch (
LoggerException
)
1085
catch (
LoggerException
)
1127
catch (
LoggerException
)
1174
catch (
LoggerException
)
1233
catch (
LoggerException
)
1279
catch (
LoggerException
)
MSBuild (3)
XMake.cs (3)
1213
catch (
LoggerException
e)
1944
if (exception is
LoggerException
or InternalLoggerException or ProjectCacheException)
4401
catch (
LoggerException
)