Пример #1
0
        // AElfred only has fatal errors
        public virtual void Error(string message, string url, int line, int column)
        {
            var fatal = new SAXParseException(message, null, url, line, column);

            _errorHandler.FatalError(fatal);

            // Even if the application can continue ... we can't!
            throw fatal;
        }
Пример #2
0
 public virtual void FatalError(SAXParseException e)
 {
     if (_errorHandler != null)
     {
         _errorHandler.FatalError(e);
     }
 }
Пример #3
0
 public virtual void FatalError(ParseError error)
 {
     if (errorHandler != null)
     {
         errorHandler.FatalError(error);
     }
 }
Пример #4
0
        internal void fatal(string message)
        {
            ParseErrorImpl err = new ParseErrorImpl(message, this, "");

            errorHandler.FatalError(err);

            // Even if the application can continue ... we can't!
            throw new SaxParseException(err);
        }