private void OnException(List <string> message, WKHtmltopdfParameters parameters, int exitCode, Exception caughtException) { var exceptionMessage = GetExceptionMessage(message); var excetpion = new WKHtmltopdfException(exceptionMessage, caughtException, exitCode); OnConversionError(new ConversionErrorEventArgs(excetpion, parameters.InputFiles, parameters.OutputFile)); }
public ConversionErrorEventArgs(WKHtmltopdfException exception, InputBase[] inputs, ConvertFile output) { Exception = exception; Inputs = inputs; Output = output; }