All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.xml.parser.ErrorListener

public interface ErrorListener
An Interface listening errors.

Version:
19980206

Method Index

 o error(String, int, int, Object, String)
This method is called by Parser when some error occurs.

Methods

 o error
 public abstract void error(String fname,
                            int lineno,
                            int charoff,
                            Object key,
                            String mes)
This method is called by Parser when some error occurs.

Note: You must not trust lineno and charoff when input stream includes invalid octet as its encoding. key is an instance of sun.io.MalformedInputException in such case.

Parameters:
fname - Processing file name. null if the error occurs in document.
key - Exception or String of error code.
See Also:
error

All Packages  Class Hierarchy  This Package  Previous  Next  Index