HomeSort by relevance Sort by last modified time
    Searched refs:errorHandler (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/jsilver/src/com/google/clearsilver/jsilver/data/
Parser.java 31 public interface ErrorHandler {
33 * Report an error to the ErrorHandler.
49 * @param errorHandler Error callback to be called on any error.
56 void parse(Reader reader, Data output, ErrorHandler errorHandler, ResourceLoader resourceLoader,
DefaultHdfParser.java 35 public void parse(Reader reader, Data output, ErrorHandler errorHandler,
45 parseLine(line, output, context, lineReader, dataFileName, errorHandler);
50 LineNumberReader lineReader, String dataFileName, ErrorHandler errorHandler)
77 if (errorHandler != null) {
78 errorHandler.error(lineReader.getLineNumber(), line, dataFileName, "Bad HDF syntax");
NewHdfParser.java 102 final ErrorHandler errorHandler;
113 private ParseState(Data output, LineNumberReader lineReader, ErrorHandler errorHandler,
117 this.errorHandler = errorHandler;
129 ErrorHandler errorHandler, ResourceLoader resourceLoader, NewHdfParser hdfParser,
138 return new ParseState(output, new LineNumberReader(reader), errorHandler, resourceLoader,
145 originalState.errorHandler, originalState.resourceLoader, originalState.hdfParser
    [all...]
  /libcore/luni/src/main/java/org/xml/sax/helpers/
XMLFilterImpl.java 14 import org.xml.sax.ErrorHandler;
50 * @see org.xml.sax.ErrorHandler
53 implements XMLFilter, EntityResolver, DTDHandler, ContentHandler, ErrorHandler
304 public void setErrorHandler (ErrorHandler handler)
306 errorHandler = handler;
315 public ErrorHandler getErrorHandler ()
317 return errorHandler;
628 // Implementation of org.xml.sax.ErrorHandler.
642 if (errorHandler != null) {
643 errorHandler.warning(e)
    [all...]
ParserAdapter.java 18 import org.xml.sax.ErrorHandler;
347 public void setErrorHandler (ErrorHandler handler)
349 errorHandler = handler;
359 public ErrorHandler getErrorHandler ()
361 return errorHandler;
585 if (exceptions != null && errorHandler != null) {
587 errorHandler.error(ex);
719 if (errorHandler != null) {
720 parser.setErrorHandler(errorHandler);
731 * and make an ErrorHandler.error callback in case the app i
    [all...]
  /external/webkit/LayoutTests/storage/
hash-change-with-xhr.js 40 transaction.executeSql(UPDATE_DATA, [], function() {}, errorHandler);
41 }, errorHandler, function() {
54 function errorHandler(tx, error)
104 transaction.executeSql(CREATE_HEALTH_TABLE, [], function() {}, errorHandler);
105 }, errorHandler, function() {
  /external/webkit/LayoutTests/dom/xhtml/level3/core/
domconfigerrorhandler1.js 71 * Inner class implementation for variable errorHandler
73 var errorHandler;
119 errorHandler = new DOMErrorHandlerN10049();
126 canSet = domConfig.canSetParameter(parameter,errorHandler);
130 domConfig.setParameter(parameter, errorHandler.handleError);
132 assertSame("setToNewHandlerEffective",errorHandler,state);
domconfigerrorhandler2.js 87 var errorHandler = null;
95 canSet = domConfig.canSetParameter(parameter,errorHandler);
97 domConfig.setParameter(parameter, errorHandler.handleError);
handleerror02.js 78 * Inner class implementation for variable errorHandler
80 var errorHandler;
105 var errors = errorHandler.errors;
145 errorHandler = new DOMErrorHandlerN10053(errors);
155 domConfig.setParameter("error-handler", errorHandler.handleError);
handleerror01.js 78 * Inner class implementation for variable errorHandler
80 var errorHandler;
132 errorHandler = new DOMErrorHandlerN10054();
151 domConfig.setParameter("error-handler", errorHandler.handleError);
  /libcore/luni/src/test/java/tests/api/javax/xml/parsers/
DocumentBuilderFactoryTest.java 23 import org.xml.sax.ErrorHandler;
381 ValidationErrorHandler errorHandler = new ValidationErrorHandler();
382 parser.setErrorHandler(errorHandler);
387 parseException = errorHandler.getFirstException();
409 ValidationErrorHandler errorHandler = new ValidationErrorHandler();
410 parser.setErrorHandler(errorHandler);
415 parseException = errorHandler.getFirstException();
444 ValidationErrorHandler errorHandler = new ValidationErrorHandler();
445 parser.setErrorHandler(errorHandler);
450 parseException = errorHandler.getFirstException()
    [all...]
  /libcore/luni/src/test/java/tests/api/org/xml/sax/support/
MockReader.java 28 import org.xml.sax.ErrorHandler;
49 private ErrorHandler errorHandler;
73 public ErrorHandler getErrorHandler() {
74 return errorHandler;
107 public void setErrorHandler(ErrorHandler handler) {
108 this.errorHandler = handler;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/
VersionCheck.java 58 public static boolean checkVersion(String osSdkPath, CheckSdkErrorHandler errorHandler) {
88 return errorHandler.handleWarning(Messages.VersionCheck_Plugin_Version_Failed);
110 return errorHandler.handleError(
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
AndroidManifestHelper.java 66 XmlErrorHandler errorHandler = null;
68 errorHandler = new XmlErrorHandler(eclipseFile, errorListener);
71 return AndroidManifestParser.parse(manifestFile, gatherData, errorHandler);
  /libcore/xml/src/main/java/org/xmlpull/v1/sax2/
Driver.java 23 import org.xml.sax.ErrorHandler;
69 protected ErrorHandler errorHandler = new DefaultHandler();;
264 public void setErrorHandler(ErrorHandler handler) {
265 this.errorHandler = handler;
268 public ErrorHandler getErrorHandler() { return errorHandler; }
287 errorHandler.fatalError(saxException);
300 errorHandler.fatalError(saxException);
313 errorHandler.fatalError(saxException)
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteOpenHelper.java 85 * @param errorHandler the {@link DatabaseErrorHandler} to be used when sqlite reports database
89 DatabaseErrorHandler errorHandler) {
91 if (errorHandler == null) {
99 mErrorHandler = errorHandler;
  /libcore/dom/src/test/java/org/w3c/domts/
JAXPDOMTestDocumentBuilderFactory.java 86 implements org.xml.sax.ErrorHandler {
122 LoadErrorHandler errorHandler = new LoadErrorHandler();
123 builder.setErrorHandler(errorHandler);
127 parseException = errorHandler.getFirstException();
  /libcore/luni/src/main/java/javax/xml/validation/
Validator.java 25 import org.xml.sax.ErrorHandler;
60 * <tt>null</tt> {@link ErrorHandler} and
74 * <p>The reset <code>Validator</code> is not guaranteed to have the same {@link LSResourceResolver} or {@link ErrorHandler}
76 * <code>LSResourceResolver</code> and <code>ErrorHandler</code>.</p>
89 * @see #setErrorHandler(ErrorHandler)
151 * {@link ErrorHandler}.
155 * but none of them were fatal and the {@link ErrorHandler} didn't
182 * If the {@link ErrorHandler} throws a {@link SAXException} or
183 * if a fatal error is found and the {@link ErrorHandler} returns
200 * Sets the {@link ErrorHandler} to receive errors encountere
    [all...]
ValidatorHandler.java 23 import org.xml.sax.ErrorHandler;
117 * <tt>null</tt> {@link ErrorHandler} and
162 * from the {@link ValidatorHandler}. The {@link ErrorHandler}
188 * Sets the {@link ErrorHandler} to receive errors encountered
193 * during a validation. When an {@link ErrorHandler} is set,
195 * to the {@link ErrorHandler}.
201 * validation by returning normally from the {@link ErrorHandler}
204 * If any {@link Throwable} is thrown from an {@link ErrorHandler},
211 * {@link ErrorHandler}.
214 * When the {@link ErrorHandler} is null, the implementation wil
    [all...]
  /external/webkit/Tools/CSSTestSuiteHarness/harness/
harness.js     [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/
ExpatReader.java 26 import org.xml.sax.ErrorHandler;
46 /*package*/ ErrorHandler errorHandler;
189 public void setErrorHandler(ErrorHandler handler) {
190 this.errorHandler = handler;
193 public ErrorHandler getErrorHandler() {
194 return errorHandler;
  /libcore/luni/src/test/java/tests/org/w3c/dom/
DOMTestCase.java 25 LoadErrorHandler errorHandler = new LoadErrorHandler();
26 builder.setErrorHandler(errorHandler);
28 parseException = errorHandler.getFirstException();
193 private class LoadErrorHandler implements org.xml.sax.ErrorHandler {
  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DOMConfigurationImpl.java 127 return config.errorHandler;
130 config.errorHandler = (DOMErrorHandler) value;
291 private DOMErrorHandler errorHandler;
484 if (errorHandler != null) {
486 errorHandler.handleError(new DOMErrorImpl(severity, type));
  /libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DocumentBuilderImpl.java 38 import org.xml.sax.ErrorHandler;
55 private ErrorHandler errorHandler;
64 errorHandler = null;
148 if (errorHandler != null) {
149 errorHandler.error(newEx);
362 public void setErrorHandler(ErrorHandler handler) {
363 errorHandler = handler;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
LayoutDeviceManager.java 28 import org.xml.sax.ErrorHandler;
66 private static class CaptureErrorHandler implements ErrorHandler {
304 CaptureErrorHandler errorHandler = new CaptureErrorHandler(deviceXml.getAbsolutePath());
306 Validator validator = LayoutDevicesXsd.getValidator(errorHandler);
309 if (errorHandler.foundError() == false) {

Completed in 1975 milliseconds

1 2 3