public static LogUnhandledEngineException ( IAnalysisContext context, |
||
context | IAnalysisContext | |
exception | ||
return | RuntimeConditions |
public static RuntimeConditions LogUnhandledEngineException(IAnalysisContext context, Exception exception)
{
if (context == null)
{
throw new ArgumentNullException(nameof(context));
}
// An unhandled exception was raised during analysis.
context.Logger.LogToolNotification(
CreateNotification(
context.TargetUri,
ERR999UnhandledEngineException,
NotificationLevel.Error,
exception,
true));
return RuntimeConditions.ExceptionInEngine;
}