/// <summary> /// Report a fatal exception thrown. /// </summary> /// <param name="error">TransformerException.</param> public void fatalError(TransformerException error) { StaticError se = new StaticError(error); se.isWarning = false; errorList.Add(se); //Console.WriteLine("(Adding fatal error " + error.getMessage() + ")"); }
/// <summary> /// Warning the specified exception. /// </summary> /// <param name="exception">TransformerException.</param> public void warning(TransformerException exception) { StaticError se = new StaticError(exception); se.isWarning = true; //Console.WriteLine("(Adding warning " + exception.getMessage() + ")"); errorList.Add(se); }
// internal constructor: Create a new DynamicError, wrapping a Saxon XPathException internal DynamicError(TransformerException err) { if (err is XPathException) { this.exception = (XPathException)err; } else { this.exception = XPathException.makeXPathException(err); } }
/// <summary> /// Create a new StaticError, wrapping a Saxon XPathException /// </summary> internal StaticError(TransformerException err) { if (err is XPathException) { this.exception = (XPathException)err; } else { this.exception = JStaticError.makeStaticError(err); } }
public void warning(TransformerException te) { this.Warnings.Add(te); }
public void fatalError(TransformerException te) { this.FatalErrors.Add(te); }
public void error(TransformerException te) { this.Errors.Add(te); }
public XsltCompilerException(TransformerException exception) { this.TransformerException = exception; }