Searched refs:error (Results 1 - 25 of 116) sorted by relevance

12345

/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/dom3/
H A DDOMErrorHandlerImpl.java44 * 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/w3c/dom/
H A DDOMErrorHandler.java20 * <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/dom/src/test/java/org/w3c/domts/
H A DDOMErrorMonitor.java40 * 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());
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DUnImplNode.java59 * Throw an error.
61 * @param msg Message Key for the error
63 public void error(String msg) method in class:UnImplNode
72 * Throw an error.
74 * @param msg Message Key for the error
75 * @param args Array of arguments to be used in the error message
77 public void error(String msg, Object[] args) method in class:UnImplNode
82 throw new RuntimeException(XMLMessages.createXMLMessage(msg, args)); //"UnImplNode error: "+msg);
97 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"appendChild not supported!");
110 error(XMLErrorResource
[all...]
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/common/
H A DErrorCode.java13 * 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/xml/src/main/java/javax/xml/transform/
H A DErrorListener.java23 * <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/xml/sax/
H A DErrorHandler.java1 // 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 DHandlerBase.java328 * 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/xml/src/main/java/org/apache/xalan/templates/
H A DElemApplyImport.java76 transformer.getMsgMgr().error(this,
89 transformer.getMsgMgr().error(this,
105 error(XSLTErrorResources.ER_CANNOT_ADD,
H A DElemText.java139 error(XSLTErrorResources.ER_CANNOT_ADD,
H A DElemChoose.java121 transformer.getMsgMgr().error(
147 error(XSLTErrorResources.ER_CANNOT_ADD,
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/
H A DMsgMgr.java32 * 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/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java94 private String error; field in class:KXmlParser
167 error("illegal empty namespace");
237 error("illegal tag name: " + name);
248 error("undefined prefix: " + prefix);
263 private final void error(String desc) throws XmlPullParserException { method in class:KXmlParser
265 if (error == null)
266 error = "ERR: " + desc;
294 // degenerated needs to be handled before error because of possible
304 if (error != null) {
305 for (int i = 0; i < error
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/
H A DXObject.java229 * Cast result object to a number. Always issues an error.
238 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NUMBER,
257 * Cast result object to a boolean. Always issues an error.
266 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NUMBER,
403 * Cast result object to a nodelist. Always issues an error.
412 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NODELIST,
430 * Cast result object to a nodelist. Always issues an error.
439 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NODELIST,
446 * Cast result object to a nodelist. Always issues an error.
455 error(XPATHErrorResource
682 protected void error(String msg) method in class:XObject
697 protected void error(String msg, Object[] args) method in class:XObject
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/ref/
H A DReferenceTest.java43 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/logging/src/main/java/java/util/logging/
H A DErrorManager.java23 * 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...]
H A DSocketHandler.java134 getErrorManager().error(Messages.getString("logging.E"), e, //$NON-NLS-1$
161 getErrorManager().error(Messages.getString("logging.F"), e, //$NON-NLS-1$
H A DStreamHandler.java148 getErrorManager().error(Messages.getString("logging.14"), e, //$NON-NLS-1$
246 getErrorManager().error(Messages.getString("logging.15"), e, //$NON-NLS-1$
283 getErrorManager().error(Messages.getString("logging.16"), //$NON-NLS-1$
317 getErrorManager().error(Messages.getString("logging.17"), //$NON-NLS-1$
324 getErrorManager().error(Messages.getString("logging.18"), e, //$NON-NLS-1$
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DErrorManagerTest.java59 method = "error",
68 em.error("supertest", null, ErrorManager.GENERIC_FAILURE);
77 method = "error",
82 em.error(null, new NullPointerException(),
84 em.error("An error message.", null, ErrorManager.GENERIC_FAILURE);
85 em.error(null, null, ErrorManager.GENERIC_FAILURE);
/dalvik/vm/mterp/x86-atom/
H A DbinopD.S41 cmpl $$-1, %ecx # handle -1 special case divide error
43 cmpl $$0x80000000,%eax # handle min int special case divide error
/dalvik/libcore/xml/src/main/java/org/apache/xalan/processor/
H A DProcessorExsltFuncResult.java60 handler.error(msg, new SAXException(msg));
67 handler.error(msg, new SAXException(msg));
H A DProcessorNamespaceAlias.java84 handler.error(XSLTErrorResources.ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT, null, null);
90 handler.error(XSLTErrorResources.ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX, new Object[] {prefix}, null);
H A DProcessorKey.java80 * error reporting.
82 * error reporting.
109 handler.error(attributes.getQName(i)
119 handler.error(
149 handler.error(
H A DProcessorExsltFunction.java70 handler.error(msg, new SAXException(msg));
87 handler.error(msg, new SAXException(msg));
134 handler.error(msg, new SAXException(msg));
154 handler.error(msg, new SAXException(msg));
/dalvik/vm/jdwp/
H A DJdwpConstants.c24 * Return a string for the error code.
26 const char* dvmJdwpErrorStr(enum JdwpError error) argument
28 switch (error) {

Completed in 426 milliseconds

12345