4 instantiations of InternalLoggerException
Microsoft.Build (4)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
30
new(typeof(InternalLoggerException), (msg, inner) => new
InternalLoggerException
(msg, inner)),
BackEnd\Components\Logging\LoggingService.cs (1)
1147
return new
InternalLoggerException
(message, innerException: null, e: null, errorCode, helpKeyword, initializationException: true);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
889
throw new
InternalLoggerException
(taskException.Message, taskException, ex.BuildEventArgs, ex.ErrorCode, ex.HelpKeyword, ex.InitializationException);
Errors\InternalLoggerException.cs (1)
262
throw new
InternalLoggerException
(message, innerException, e, errorCode, helpKeyword, initializationException);
27 references to InternalLoggerException
Microsoft.Build (25)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
30
new(typeof(
InternalLoggerException
), (msg, inner) => new InternalLoggerException(msg, inner)),
BackEnd\Components\Logging\EventSourceSink.cs (5)
11
using InternalLoggerException = Microsoft.Build.Exceptions.
InternalLoggerException
;
232
/// <exception cref="
InternalLoggerException
">Any exceptions which are not LoggerExceptions are wrapped in an InternalLoggerException</exception>
326
InternalLoggerException
.Throw(exception, buildEvent, "FatalErrorWhileLogging", false);
401
/// <exception cref="
InternalLoggerException
">Any exceptions which are not LoggerExceptions are wrapped in an InternalLoggerException</exception>
440
InternalLoggerException
.Throw(exception, buildEvent, "FatalErrorWhileLogging", false);
BackEnd\Components\Logging\LoggingService.cs (8)
19
using InternalLoggerException = Microsoft.Build.Exceptions.
InternalLoggerException
;
929
/// <exception cref="
InternalLoggerException
">A logger will wrap other exceptions (except ExceptionHandling.IsCriticalException exceptions) in a InternalLoggerException if it crashes during shutdown</exception>
1113
/// <exception cref="
InternalLoggerException
">If any exception (other than a loggerException)is thrown while creating or initializing the distributed or central logger, we will wrap these exceptions in an InternalLoggerException</exception>
1141
private static
InternalLoggerException
CreateReflectiveLoggerLoadingDisabledException()
1553
/// <exception cref="
InternalLoggerException
">Any exception comming from a logger during shutdown that is not a LoggerException is wrapped in an InternalLoggerException and thrown</exception>
1563
InternalLoggerException
.Throw(e, null, "FatalErrorDuringLoggerShutdown", false, logger.GetType().Name);
1873
/// <exception cref="
InternalLoggerException
">Any exceptions from initializing the logger which are not loggerExceptions are caught and wrapped in a InternalLoggerException</exception>
1903
InternalLoggerException
.Throw(e, null, "FatalErrorWhileInitializingLogger", true, logger.GetType().Name);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
829
else if (ex is
InternalLoggerException
)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
882
else if (type == typeof(
InternalLoggerException
))
886
InternalLoggerException
ex = taskException as
InternalLoggerException
;
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1785
catch (Exception e) when (e is not LoggerException && e is not
InternalLoggerException
&& !ExceptionHandling.NotExpectedReflectionException(e))
Definition\ProjectCollection.cs (2)
26
using InternalLoggerException = Microsoft.Build.Exceptions.
InternalLoggerException
;
1856
catch (
InternalLoggerException
)
Logging\LoggerDescription.cs (4)
11
using InternalLoggerException = Microsoft.Build.Exceptions.
InternalLoggerException
;
168
InternalLoggerException
.Throw(null, null, "LoggerNotFoundError", true, this.Name);
172
when (!(e is LoggerException /* Polite logger Failure*/ || e is
InternalLoggerException
/* LoggerClass not found*/ || ExceptionHandling.IsCriticalException(e)))
174
InternalLoggerException
.Throw(e, null, "LoggerCreationError", true, Name);
MSBuild (2)
XMake.cs (2)
1239
catch (
InternalLoggerException
e)
1944
if (exception is LoggerException or
InternalLoggerException
or ProjectCacheException)