/dalvik/libcore/xml/src/main/java/org/w3c/dom/ |
H A D | DOMErrorHandler.java | 20 * <code>Document</code> using the "error-handler" on the 21 * <code>DOMConfiguration</code> interface. If more than one error needs to 23 * passed to the error handler are implementation dependent. 31 * This method is called on the error handler when an error occurs. 34 * @param error The error object that describes the error. This object 43 public boolean handleError(DOMError error); argument
|
/dalvik/libcore/xml/src/main/java/javax/xml/transform/ |
H A D | ErrorListener.java | 23 * <p>To provide customized error handling, implement this interface and 72 * Receive notification of a recoverable error. 79 * @param exception The error information encapsulated in a 87 public abstract void error(TransformerException exception) method in interface:ErrorListener 91 * <p>Receive notification of a non-recoverable error.</p> 99 * @param exception The error information encapsulated in a
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/dom3/ |
H A D | DOMErrorHandlerImpl.java | 44 * adds copy of error to list for later retrieval.
47 public boolean handleError(DOMError error) {
argument 50 if (error.getSeverity() == DOMError.SEVERITY_WARNING) {
53 } else if (error.getSeverity() == DOMError.SEVERITY_ERROR) {
55 } else if (error.getSeverity() == DOMError.SEVERITY_FATAL_ERROR) {
59 System.err.println(severity + ": " + error.getMessage() + "\t");
60 System.err.println("Type : " + error.getType() + "\t" + "Related Data: "
61 + error.getRelatedData() + "\t" + "Related Exception: "
62 + error.getRelatedException() );
|
/dalvik/libcore/xml/src/main/java/org/xml/sax/ |
H A D | ErrorHandler.java | 1 // SAX error handler. 10 * Basic interface for SAX error handlers. 19 * <p>If a SAX application needs to implement customized error 30 * with {@link #error error()} calls must be registered.</p> 78 * Receive notification of a recoverable error. 80 * <p>This corresponds to the definition of "error" in section 1.2 90 * a fatal error even if the XML recommendation does not require 96 * @param exception The error information encapsulated in a 102 public abstract void error (SAXParseExceptio method in interface:ErrorHandler [all...] |
H A D | HandlerBase.java | 328 * Receive notification of a recoverable parser error. 332 * for each error, such as inserting the message in a log file or 341 public void error (SAXParseException e) 349 * Report a fatal XML parsing error. 353 * they need to take specific actions for each fatal error (such as 359 * @param e The error information encoded as an exception. 337 public void error (SAXParseException e) method in class:HandlerBase
|
/dalvik/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMErrorMonitor.java | 40 * adds copy of error to list for later retrieval. 43 public boolean handleError(DOMError error) { argument 44 errors.add(new DOMErrorImpl(error)); 60 DOMError error = (DOMError) iter.next(); 61 if (error.getSeverity() >= severity) { 62 testCase.fail(id + error.getMessage());
|
H A D | JAXPDOMTestDocumentBuilderFactory.java | 95 public void error(SAXParseException ex) { method in class:JAXPDOMTestDocumentBuilderFactory.LoadErrorHandler
|
/dalvik/libcore/logging/src/main/java/java/util/logging/ |
H A D | ErrorManager.java | 23 * An error reporting facility for {@link Handler} implementations to record any 24 * error that may happen during logging. {@code Handlers} should report errors 31 * The error code indicating a failure that does not fit in any of the 37 * The error code indicating a failure when writing to an output stream. 42 * The error code indicating a failure when flushing an output stream. 47 * The error code indicating a failure when closing an output stream. 52 * The error code indicating a failure when opening an output stream. 57 * The error code indicating a failure when formatting the error messages. 67 * An indicator for determining if the error manage 94 public void error(String message, Exception exception, int errorCode) { method in class:ErrorManager [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
H A D | DefaultErrorHandler.java | 39 * Implement SAX error handler for default reporting. 48 * the error() and fatalError() methods. If it is false, the errors 93 // Defer creating the java.io.PrintWriter until an error needs to be 126 * Receive notification of a recoverable error. 128 * <p>This corresponds to the definition of "error" in section 1.2 138 * error even if the XML 1.0 recommendation does not require it to 141 * @param exception The error information encapsulated in a 146 public void error(SAXParseException exception) throws SAXException method in class:DefaultErrorHandler 155 * Receive notification of a non-recoverable error. 157 * <p>This corresponds to the definition of "fatal error" i 228 public void error(TransformerException exception) throws TransformerException method in class:DefaultErrorHandler [all...] |
/dalvik/vm/jdwp/ |
H A D | JdwpConstants.c | 24 * Return a string for the error code. 26 const char* dvmJdwpErrorStr(enum JdwpError error) argument 28 switch (error) {
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/ |
H A D | FuncDocument.java | 100 // If the second argument is an empty nodeset, this is an error. 174 error(xctxt, XSLTErrorResources.ER_NO_CONTEXT_OWNERDOC, null); //"context does not have an owner document!"); 378 * Tell the user of an error, and probably throw an 382 * @param msg The error message key 383 * @param args Arguments to be used in the error message 385 * the error condition is severe enough to halt processing. 389 public void error(XPathContext xctxt, String msg, Object args[]) method in class:FuncDocument 399 errHandler.error(spe); 411 * the error condition is severe enough to halt processing.
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/ |
H A D | MsgMgr.java | 32 * This class will manage error messages, warning messages, and other types of 58 * the error condition is severe enough to halt processing. 85 * the error condition is severe enough to halt processing. 101 * the error condition is severe enough to halt processing. 119 * the error condition is severe enough to halt processing. 138 * the error condition is severe enough to halt processing. 157 * Tell the user of an error, and probably throw an 162 * the error condition is severe enough to halt processing. 166 public void error(SourceLocator srcLctr, String msg) throws TransformerException 185 * Tell the user of an error, an 195 public void error(SourceLocator srcLctr, String msg) throws TransformerException method in class:MsgMgr 212 public void error(SourceLocator srcLctr, String msg, Object[] args) throws TransformerException method in class:MsgMgr 229 public void error(SourceLocator srcLctr, String msg, Exception e) throws TransformerException method in class:MsgMgr 247 public void error(SourceLocator srcLctr, String msg, Object args[], Exception e) throws TransformerException method in class:MsgMgr 278 public void error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg) method in class:MsgMgr 298 public void error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object args[]) method in class:MsgMgr [all...] |
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/common/ |
H A D | ErrorCode.java | 13 * Error exception class mapping ICU error codes of the enum UErrorCode 23 * Generic mapping from the error codes to java default exceptions. 24 * @param error error code 25 * @return java default exception that maps to the argument error code, 26 * otherwise if error is not a valid error code, null is returned. 29 public static final RuntimeException getException(int error) argument 31 if (error <= U_ZERO_ERROR && error > [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
H A D | ReferenceTest.java | 43 static AssertionFailedError error; field in class:ReferenceTest 60 error = new AssertionFailedError("Clear should happen " + 62 throw error; 65 error = new AssertionFailedError("Clear should happen " + 67 throw error; 75 error = new AssertionFailedError("Clear should happen " + 77 throw error; 271 error = null; 398 error = null; 419 error [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/compiler/ |
H A D | OpMap.java | 295 error(org.apache.xpath.res.XPATHErrorResources.ER_UNKNOWN_OPCODE, 302 * Tell the user of an error, and probably throw an 305 * @param msg An error msgkey that corresponds to one of the constants found 314 public void error(String msg, Object[] args) throws javax.xml.transform.TransformerException method in class:OpMap 442 break; // Should assert error
|
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/ |
H A D | DefaultHandler.java | 84 * @exception java.io.IOException If there is an error setting 426 * Receive notification of a recoverable parser error. 430 * for each error, such as inserting the message in a log file or 439 public void error (SAXParseException e) 447 * Report a fatal XML parsing error. 451 * they need to take specific actions for each fatal error (such as 457 * @param e The error information encoded as an exception. 435 public void error (SAXParseException e) method in class:DefaultHandler
|
/dalvik/libcore/xml/src/test/java/tests/org/w3c/dom/ |
H A D | DOMTestCase.java | 209 public void error(SAXParseException ex) { method in class:DOMTestCase.LoadErrorHandler
|
/dalvik/libcore/icu/src/main/native/ |
H A D | NativeRegEx.cpp | 45 jstring pattern, UParseError error) 53 pattern, error.offset)); 81 UParseError error; local 82 error.offset = -1; 87 data->regex = uregex_open(&EMPTY_STRING, -1, flags, &error, &status); 90 data->regex = uregex_open(patternRaw, patternLen, flags, &error, 97 throwPatternSyntaxException(env, status, pattern, error); 44 throwPatternSyntaxException(JNIEnv* env, UErrorCode status, jstring pattern, UParseError error) argument
|
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
H A D | HandlerTest.java | 673 * Test whether the error manager is actually called with expected 762 * A mock error manager, used to validate the expected method is called with 767 public void error(String msg, Exception ex, int errorCode) { method in class:HandlerTest.MockErrorManager
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
H A D | Socks4Message.java | 160 * Answer an error string corresponding to the given error value. 162 public String getErrorString(int error) { argument 163 switch (error) {
|
/dalvik/libcore/luni-kernel/src/main/native/ |
H A D | java_lang_ProcessManager.cpp | 186 int i, result, error; local 260 error = errno; 261 write(statusOut, &error, sizeof(int)); 263 exit(error); 274 // Check status pipe for an error code. If execvp() succeeds, the other
|
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | SimpleDateFormat.java | 979 private Date error(ParsePosition position, int offset, TimeZone zone) { method in class:SimpleDateFormat 1178 * text. On error, the index is unchanged and the error index of {@code 1179 * ParsePosition} is set to the index where the error occurred. 1188 * error, the index is unchanged and the error index is set to 1189 * the index where the error occurred. 1191 * error. 1210 return error(position, -offset - 1, zone); 1216 return error(positio [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | ToSAXHandler.java | 378 * @see org.xml.sax.ErrorHandler#error(SAXParseException) 380 public void error(SAXParseException exc) throws SAXException { method in class:ToSAXHandler 381 super.error(exc); 384 ((ErrorHandler)m_saxHandler).error(exc);
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/ |
H A D | Expression.java | 39 * normally has a location within a document or DOM, can send error and warning 239 * the error condition is severe enough to halt processing. 270 * the error condition is severe enough to halt processing. 377 * @param msg An error msgkey that corresponds to one of the conststants found 404 * Tell the user of an assertion error, and probably throw an 428 * Tell the user of an error, and probably throw an 432 * @param msg An error msgkey that corresponds to one of the constants found 443 public void error(XPathContext xctxt, String msg, Object[] args) method in class:Expression 550 * is intended only as an approximation for the sake of error 572 * is intended only as an approximation for the sake of error [all...] |
H A D | XPath.java | 159 * @param errorListener The error listener, or null if default should be used. 161 * @throws javax.xml.transform.TransformerException if syntax or other error. 207 * @param errorListener The error listener, or null if default should be used. 209 * @throws javax.xml.transform.TransformerException if syntax or other error. 260 * @throws javax.xml.transform.TransformerException if syntax or other error. 274 * @throws javax.xml.transform.TransformerException if syntax or other error. 293 * the error condition is severe enough to halt processing. 319 * the error condition is severe enough to halt processing. 345 el.error(te); 396 * the error conditio 576 public void error( method in class:XPath [all...] |