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)
884
throw new
LoggerException
(taskException.Message, taskException);
Logging\BaseConsoleLogger.cs (1)
1040
throw new
LoggerException
(message, null, errorCode, helpKeyword);
Logging\BinaryLogger\BinaryLogger.cs (4)
190
throw new
LoggerException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", ""));
215
throw new
LoggerException
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidBinaryLoggerParameters", parameter));
401
throw new
LoggerException
(message, e, errorCode, helpKeyword);
693
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)
226
throw new
LoggerException
(message, e.InnerException);
236
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)
3719
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)
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>
1513
catch (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>
1853
catch (Exception e) when (!ExceptionHandling.IsCriticalException(e) && e is not
LoggerException
)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
877
if (type == typeof(
LoggerException
))
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1457
catch (Exception e) when (e is not
LoggerException
&& e is not InternalLoggerException && !ExceptionHandling.NotExpectedReflectionException(e))
Definition\ProjectCollection.cs (1)
1802
catch (
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)
170
when (!(e is
LoggerException
/* Polite logger Failure*/ || e is InternalLoggerException /* LoggerClass not found*/ || ExceptionHandling.IsCriticalException(e)))
228
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)
968
catch (
LoggerException
e)
1701
if (exception is
LoggerException
or InternalLoggerException or ProjectCacheException)
4039
catch (
LoggerException
)