1 57 58 package org.enhydra.apache.xerces.framework; 59 60 import org.xml.sax.Locator ; 61 62 67 public interface XMLErrorReporter { 68 72 73 public static final int ERRORTYPE_WARNING = 0; 74 75 76 public static final int ERRORTYPE_RECOVERABLE_ERROR = 1; 77 78 79 public static final int ERRORTYPE_FATAL_ERROR = 2; 80 81 84 public Locator getLocator(); 85 86 107 public void reportError(Locator locator, 108 String errorDomain, 109 int majorCode, 110 int minorCode, 111 Object args[], 112 int errorType) throws Exception ; 113 } 114 | Popular Tags |