Interface ErrorObserver

All Known Implementing Classes:
DefaultObserver, ErrorListenerWrapper, ErrorObserverAdapter, ProcessorCallback, ResultFormatter, RuleProcessor, StylesheetHandler, TemplatesHandlerImpl, XSLTProcessor, XSLTReader

public interface ErrorObserver
A simple interface that allows warnings and errors to be reported.
Version:
$Revision: 3829 $ $Date: 2003-09-09 06:42:42 +0200 (Tue, 09 Sep 2003) $
Author:
Keith Visco
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Signals an error with normal level
    void
    receiveError(Exception exception, int level)
    Signals an error with the given error level
    void
    receiveError(Exception exception, String message)
    Signals an error with normal level
    void
    receiveError(Exception exception, String message, int level)
    Signals an error with the given error level
    void
    Signals an error with normal level
    void
    receiveError(String message, int level)
    Signals an error with the given error level
  • Field Details

  • Method Details

    • receiveError

      void receiveError(Exception exception)
      Signals an error with normal level
      Parameters:
      exception - the Exception that caused the error
    • receiveError

      void receiveError(Exception exception, String message)
      Signals an error with normal level
      Parameters:
      exception - the Exception that caused the error
      message - an option message, used when additional information can be provided.
    • receiveError

      void receiveError(Exception exception, int level)
      Signals an error with the given error level
      Parameters:
      exception - the Exception that caused the error
      level - the error level
    • receiveError

      void receiveError(Exception exception, String message, int level)
      Signals an error with the given error level
      Parameters:
      exception - the Exception that caused the error
      message - an option message, used when additional information can be provided.
      level - the error level
    • receiveError

      void receiveError(String message)
      Signals an error with normal level
      Parameters:
      message - the error message
    • receiveError

      void receiveError(String message, int level)
      Signals an error with the given error level
      Parameters:
      message - the error message
      level - the error level