4 instantiations of InternalLoggerException
Microsoft.Build (4)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
30new(typeof(InternalLoggerException), (msg, inner) => new InternalLoggerException(msg, inner)),
BackEnd\Components\Logging\LoggingService.cs (1)
1147return new InternalLoggerException(message, innerException: null, e: null, errorCode, helpKeyword, initializationException: true);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
889throw new InternalLoggerException(taskException.Message, taskException, ex.BuildEventArgs, ex.ErrorCode, ex.HelpKeyword, ex.InitializationException);
Errors\InternalLoggerException.cs (1)
262throw new InternalLoggerException(message, innerException, e, errorCode, helpKeyword, initializationException);
27 references to InternalLoggerException
Microsoft.Build (25)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
30new(typeof(InternalLoggerException), (msg, inner) => new InternalLoggerException(msg, inner)),
BackEnd\Components\Logging\EventSourceSink.cs (5)
11using InternalLoggerException = Microsoft.Build.Exceptions.InternalLoggerException; 232/// <exception cref="InternalLoggerException">Any exceptions which are not LoggerExceptions are wrapped in an InternalLoggerException</exception> 326InternalLoggerException.Throw(exception, buildEvent, "FatalErrorWhileLogging", false); 401/// <exception cref="InternalLoggerException">Any exceptions which are not LoggerExceptions are wrapped in an InternalLoggerException</exception> 440InternalLoggerException.Throw(exception, buildEvent, "FatalErrorWhileLogging", false);
BackEnd\Components\Logging\LoggingService.cs (8)
19using 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> 1141private 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> 1563InternalLoggerException.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> 1903InternalLoggerException.Throw(e, null, "FatalErrorWhileInitializingLogger", true, logger.GetType().Name);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
829else if (ex is InternalLoggerException)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
882else if (type == typeof(InternalLoggerException)) 886InternalLoggerException ex = taskException as InternalLoggerException;
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1785catch (Exception e) when (e is not LoggerException && e is not InternalLoggerException && !ExceptionHandling.NotExpectedReflectionException(e))
Definition\ProjectCollection.cs (2)
26using InternalLoggerException = Microsoft.Build.Exceptions.InternalLoggerException; 1856catch (InternalLoggerException)
Logging\LoggerDescription.cs (4)
11using InternalLoggerException = Microsoft.Build.Exceptions.InternalLoggerException; 168InternalLoggerException.Throw(null, null, "LoggerNotFoundError", true, this.Name); 172when (!(e is LoggerException /* Polite logger Failure*/ || e is InternalLoggerException /* LoggerClass not found*/ || ExceptionHandling.IsCriticalException(e))) 174InternalLoggerException.Throw(e, null, "LoggerCreationError", true, Name);
MSBuild (2)
XMake.cs (2)
1239catch (InternalLoggerException e) 1944if (exception is LoggerException or InternalLoggerException or ProjectCacheException)