/libcore/luni/src/main/native/ |
D | JniException.cpp | 20 void jniThrowExceptionWithErrno(JNIEnv* env, const char* exceptionClassName, int error) { in jniThrowExceptionWithErrno() argument 22 jniThrowException(env, exceptionClassName, jniStrError(error, buf, sizeof(buf))); in jniThrowExceptionWithErrno() 25 void jniThrowBindException(JNIEnv* env, int error) { in jniThrowBindException() argument 26 jniThrowExceptionWithErrno(env, "java/net/BindException", error); in jniThrowBindException() 29 void jniThrowConnectException(JNIEnv* env, int error) { in jniThrowConnectException() argument 30 jniThrowExceptionWithErrno(env, "java/net/ConnectException", error); in jniThrowConnectException() 37 void jniThrowSecurityException(JNIEnv* env, int error) { in jniThrowSecurityException() argument 38 jniThrowExceptionWithErrno(env, "java/lang/SecurityException", error); in jniThrowSecurityException() 41 void jniThrowSocketException(JNIEnv* env, int error) { in jniThrowSocketException() argument 42 jniThrowExceptionWithErrno(env, "java/net/SocketException", error); in jniThrowSocketException() [all …]
|
D | JniException.h | 22 void jniThrowExceptionWithErrno(JNIEnv* env, const char* exceptionClassName, int error); 24 void jniThrowBindException(JNIEnv* env, int error); 25 void jniThrowConnectException(JNIEnv* env, int error); 27 void jniThrowSecurityException(JNIEnv* env, int error); 28 void jniThrowSocketException(JNIEnv* env, int error); 29 void jniThrowSocketTimeoutException(JNIEnv* env, int error);
|
D | java_util_regex_Pattern.cpp | 35 …d throwPatternSyntaxException(JNIEnv* env, UErrorCode status, jstring pattern, UParseError error) { in throwPatternSyntaxException() argument 40 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset); in throwPatternSyntaxException() 52 UParseError error; in Pattern_compileImpl() local 53 error.offset = -1; in Pattern_compileImpl() 57 RegexPattern* result = RegexPattern::compile(regexString, flags, error, status); in Pattern_compileImpl() 59 throwPatternSyntaxException(env, status, javaRegex, error); in Pattern_compileImpl()
|
D | zip.h | 27 static void throwExceptionForZlibError(JNIEnv* env, const char* exceptionClassName, int error) { in throwExceptionForZlibError() argument 28 if (error == Z_MEM_ERROR) { in throwExceptionForZlibError() 31 jniThrowException(env, exceptionClassName, zError(error)); in throwExceptionForZlibError()
|
/libcore/luni/src/main/java/org/apache/xml/utils/ |
D | UnImplNode.java | 63 public void error(String msg) in error() method in UnImplNode 77 public void error(String msg, Object[] args) in error() method in UnImplNode 97 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"appendChild not supported!"); in appendChild() 110 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"hasChildNodes not supported!"); in hasChildNodes() 123 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getNodeType not supported!"); in getNodeType() 136 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getParentNode not supported!"); in getParentNode() 149 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getChildNodes not supported!"); in getChildNodes() 162 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getFirstChild not supported!"); in getFirstChild() 175 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getLastChild not supported!"); in getLastChild() 188 error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getNextSibling not supported!"); in getNextSibling() [all …]
|
/libcore/luni/src/main/java/org/apache/xml/serializer/dom3/ |
D | DOMErrorHandlerImpl.java | 47 public boolean handleError(DOMError error) { in handleError() argument 50 if (error.getSeverity() == DOMError.SEVERITY_WARNING) { in handleError() 53 } else if (error.getSeverity() == DOMError.SEVERITY_ERROR) { in handleError() 55 } else if (error.getSeverity() == DOMError.SEVERITY_FATAL_ERROR) { in handleError() 59 System.err.println(severity + ": " + error.getMessage() + "\t"); in handleError() 60 System.err.println("Type : " + error.getType() + "\t" + "Related Data: " in handleError() 61 + error.getRelatedData() + "\t" + "Related Exception: " in handleError() 62 + error.getRelatedException() ); in handleError()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMErrorMonitor.java | 43 public boolean handleError(DOMError error) { in handleError() argument 44 errors.add(new DOMErrorImpl(error)); in handleError() 60 DOMError error = (DOMError) iter.next(); in assertLowerSeverity() local 61 if (error.getSeverity() >= severity) { in assertLowerSeverity() 62 testCase.fail(id + error.getMessage()); in assertLowerSeverity()
|
/libcore/luni/src/main/java/org/apache/xalan/transformer/ |
D | MsgMgr.java | 195 public void error(SourceLocator srcLctr, String msg) throws TransformerException in error() method in MsgMgr 197 error(srcLctr, null, null, msg, null); in error() 212 public void error(SourceLocator srcLctr, String msg, Object[] args) throws TransformerException in error() method in MsgMgr 214 error(srcLctr, null, null, msg, args); in error() 229 public void error(SourceLocator srcLctr, String msg, Exception e) throws TransformerException in error() method in MsgMgr 231 error(srcLctr, msg, null, e); in error() 247 …public void error(SourceLocator srcLctr, String msg, Object args[], Exception e) throws Transforme… in error() method in MsgMgr 278 public void error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg) in error() method in MsgMgr 281 error(srcLctr, styleNode, sourceNode, msg, null); in error() 298 …public void error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object args[… in error() method in MsgMgr
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | UnsupportedClassVersionErrorTest.java | 32 UnsupportedClassVersionError error = new UnsupportedClassVersionError(); in test_UnsupportedClassVersionError() local 33 assertNotNull(error); in test_UnsupportedClassVersionError() 34 assertNull(error.getMessage()); in test_UnsupportedClassVersionError()
|
/libcore/luni/src/main/java/com/ibm/icu4jni/common/ |
D | ErrorCode.java | 29 public static final RuntimeException getException(int error) in getException() argument 31 if (error <= U_ZERO_ERROR && error >= U_ERROR_LIMIT) { in getException() 35 switch (error) { in getException()
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlParser.java | 94 private String error; field in KXmlParser 167 error("illegal empty namespace"); in adjustNsp() 237 error("illegal tag name: " + name); in adjustNsp() 248 error("undefined prefix: " + prefix); in adjustNsp() 263 private final void error(String desc) throws XmlPullParserException { in error() method in KXmlParser 265 if (error == null) in error() 266 error = "ERR: " + desc; in error() 304 if (error != null) { 305 for (int i = 0; i < error.length(); i++) 306 push(error.charAt(i)); [all …]
|
/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
D | ReferenceTest.java | 43 static AssertionFailedError error; field in ReferenceTest 60 error = new AssertionFailedError("Clear should happen " + in clear() 62 throw error; in clear() 65 error = new AssertionFailedError("Clear should happen " + in clear() 67 throw error; in clear() 75 error = new AssertionFailedError("Clear should happen " + in enqueue() 77 throw error; in enqueue() 271 error = null; in test_subclass() 398 error = null; in test_finalizeReferenceInteraction() 419 error = new AssertionFailedError("something threw '" + t + in test_finalizeReferenceInteraction() [all …]
|
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
D | ElemApplyImport.java | 76 transformer.getMsgMgr().error(this, in execute() 89 transformer.getMsgMgr().error(this, in execute() 105 error(XSLTErrorResources.ER_CANNOT_ADD, in appendChild()
|
D | AVT.java | 197 String error = null; // if non-null, break from loop in AVT() local 294 error = XSLMessages.createMessage( in AVT() 337 if (error != null) in AVT() 347 …error = XSLMessages.createMessage(XSLTErrorResources.ER_ILLEGAL_ATTRIBUTE_VALUE, new Object[]{ nam… in AVT() 398 if (null != error) in AVT() 403 new Object[]{ error }); //"Attr Template, "+error); in AVT()
|
/libcore/luni/src/main/java/org/apache/xpath/objects/ |
D | XObject.java | 238 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NUMBER, in num() 266 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NUMBER, in bool() 412 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NODELIST, in iter() 439 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NODELIST, in nodeset() 455 error(XPATHErrorResources.ER_CANT_CONVERT_TO_NODELIST, in nodelist() 473 error(XPATHErrorResources.ER_CANT_CONVERT_TO_MUTABLENODELIST, in mutableNodeset() 518 error(XPATHErrorResources.ER_CANT_CONVERT_TO_TYPE, in castToType() 682 protected void error(String msg) in error() method in XObject 685 error(msg, null); in error() 697 protected void error(String msg, Object[] args) in error() method in XObject
|
/libcore/luni/src/main/java/java/util/logging/ |
D | StreamHandler.java | 142 getErrorManager().error("Exception occurred when writing to the output stream", e, in write() 239 getErrorManager().error("Exception occurred when closing the output stream", e, in close() 274 getErrorManager().error("Exception occurred when flushing the output stream", in flush() 306 getErrorManager().error("Exception occurred when formatting the log record", in publish() 312 getErrorManager().error("Exception occurred when logging the record", e, in publish()
|
D | SocketHandler.java | 128 getErrorManager().error("Failed to establish the network connection", e, in initSocket() 151 getErrorManager().error("Exception occurred when closing the socket handler", e, in close()
|
/libcore/luni/src/main/java/java/lang/ |
D | Runtime.java | 392 String error = nativeLoad(filename, loader); in load() local 393 if (error != null) { in load() 394 throw new UnsatisfiedLinkError(error); in load() 432 String error = nativeLoad(filename, loader); in loadLibrary() local 433 if (error != null) { in loadLibrary() 434 throw new UnsatisfiedLinkError(error); in loadLibrary() 446 String error = nativeLoad(candidate, loader); in loadLibrary() local 447 if (error == null) { in loadLibrary() 450 lastError = error; in loadLibrary()
|
/libcore/luni/src/test/java/org/apache/harmony/xml/ |
D | XsltXPathConformanceTestSuite.java | 374 if (errorRecorder.error == null) { in test() 383 if (errorRecorder.error != null) { in test() 384 throw errorRecorder.error; in test() 387 if (errorRecorder.error != null) { in test() 464 Error error = new AssertionFailedError( in fileToResultNode() 466 error.initCause(e); in fileToResultNode() 467 throw error; in fileToResultNode() 615 Exception error; field in XsltXPathConformanceTestSuite.ErrorRecorder 623 public void error(TransformerException exception) { in error() method in XsltXPathConformanceTestSuite.ErrorRecorder 624 if (this.error == null) { in error() [all …]
|
/libcore/luni/src/main/java/org/apache/xalan/processor/ |
D | ProcessorExsltFuncResult.java | 60 handler.error(msg, new SAXException(msg)); in startElement() 67 handler.error(msg, new SAXException(msg)); in startElement()
|
D | ProcessorKey.java | 109 handler.error(attributes.getQName(i) in setPropertiesFromAttributes() 119 handler.error( in setPropertiesFromAttributes() 149 handler.error( in setPropertiesFromAttributes()
|
D | ProcessorNamespaceAlias.java | 84 …handler.error(XSLTErrorResources.ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT, nul… in startElement() 90 …handler.error(XSLTErrorResources.ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX, new Object[] {p… in startElement()
|
D | ProcessorExsltFunction.java | 70 handler.error(msg, new SAXException(msg)); in startElement() 87 handler.error(msg, new SAXException(msg)); in startElement() 134 handler.error(msg, new SAXException(msg)); in validate() 154 handler.error(msg, new SAXException(msg)); in validate()
|
/libcore/ |
D | NativeCode.mk | 46 $$(error $(LOCAL_PATH)/$(1)/sub.mk should not include CLEAR_VARS \ 50 $$(error $(LOCAL_PATH)/$(1)/sub.mk should not define LOCAL_PATH) 59 $(error No native code defined for libcore)
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | DOMErrorHandler.java | 43 public boolean handleError(DOMError error); in handleError() argument
|