Lines Matching refs:error

127     jvmtiError error;
128 error = JVMTI_FUNC_PTR(gdata->jvmti,SetEventNotificationMode)
130 if (error != JVMTI_ERROR_NONE) {
132 eventText(ei), jvmtiErrorText(error), error));
134 return error;
199 jvmtiError error;
234 error = JVM_FUNC_PTR(vm,GetEnv)
236 if (error != JNI_OK) {
240 JVMTI_VERSION_1, error));
267 /* Do not let VM get a fatal error, we don't want a core dump here. */
292 /* Do not let VM get a fatal error, we don't want a core dump here. */
300 error = JVMTI_FUNC_PTR(gdata->jvmti,GetPotentialCapabilities)
302 if (error != JVMTI_ERROR_NONE) {
304 jvmtiErrorText(error), error));
359 error = JVMTI_FUNC_PTR(gdata->jvmti,AddCapabilities)
361 if (error != JVMTI_ERROR_NONE) {
370 error = set_event_notification(JVMTI_ENABLE, EI_VM_DEATH);
371 if (error != JVMTI_ERROR_NONE) {
374 error = set_event_notification(JVMTI_ENABLE, EI_VM_INIT);
375 if (error != JVMTI_ERROR_NONE) {
379 error = set_event_notification(JVMTI_ENABLE, EI_EXCEPTION);
380 if (error != JVMTI_ERROR_NONE) {
390 error = JVMTI_FUNC_PTR(gdata->jvmti,SetEventCallbacks)
392 if (error != JVMTI_ERROR_NONE) {
394 jvmtiErrorText(error), error));
466 jvmtiError error;
468 error = JVMTI_FUNC_PTR(jvmti_env,DisposeEnvironment)(jvmti_env);
469 if ( error == JVMTI_ERROR_MUST_POSSESS_CAPABILITY )
470 error = JVMTI_ERROR_NONE; /* Hack! FIXUP when JVMTI has disposeEnv */
471 /* What should error return say? */
472 if (error != JVMTI_ERROR_NONE) {
474 jvmtiErrorText(error), error));
499 jvmtiError error;
536 error = classSignature(clazz, &signature, NULL);
539 if ( (error==JVMTI_ERROR_NONE) &&
544 error = AGENT_ERROR_INTERNAL; /* Just to cause restore */
550 error = AGENT_ERROR_INTERNAL; /* Just to cause restore */
554 if ( error != JVMTI_ERROR_NONE ) {
574 jdwpError error;
591 enumArg->error = serror;
593 /* (Don't overwrite any previous error) */
600 return JNI_TRUE; /* Always continue, even if there was an error */
647 /* All JVM fatal error exits lead here (e.g. we need to kill the VM). */
649 jniFatalError(JNIEnv *env, const char *msg, jvmtiError error, int exit_code)
664 if ( error != JVMTI_ERROR_NONE ) {
666 msg, jvmtiErrorText(error), error);
686 jvmtiError error;
699 error = set_event_notification(JVMTI_DISABLE, EI_EXCEPTION);
700 if (error != JVMTI_ERROR_NONE) {
701 EXIT_ERROR(error, "unable to disable JVMTI event notification");
703 error = set_event_notification(JVMTI_DISABLE, EI_VM_INIT);
704 if (error != JVMTI_ERROR_NONE) {
705 EXIT_ERROR(error, "unable to disable JVMTI event notification");
707 error = set_event_notification(JVMTI_DISABLE, EI_VM_DEATH);
708 if (error != JVMTI_ERROR_NONE) {
709 EXIT_ERROR(error, "unable to disable JVMTI event notification");
714 error = JVMTI_FUNC_PTR(gdata->jvmti,SetEventCallbacks)
716 if (error != JVMTI_ERROR_NONE) {
717 EXIT_ERROR(error, "unable to clear JVMTI callbacks");
736 arg.error = JDWP_ERROR(NONE);
743 * Exit with an error only if
747 if ((arg.error != JDWP_ERROR(NONE)) &&
750 EXIT_ERROR(map2jvmtiError(arg.error), "No transports initialized");
770 * before this one does. (Also need to handle allocation error below?)
820 arg.error = JDWP_ERROR(NONE);
926 "errorexit=y|n exit on any error n\n"
1034 /* Options being NULL will end up being an error. */
1277 * suboption, so it is an error if user did not
1288 ERROR_MESSAGE(("JDWP option syntax error: %s=%s", AGENTLIB, options));
1302 debugInit_exit(jvmtiError error, const char *msg)
1306 /* Pick an error code */
1307 if ( error != JVMTI_ERROR_NONE ) {
1318 LOG_MISC(("Exiting with error %s(%d): %s", jvmtiErrorText(error), error, msg));
1334 jniFatalError(env, msg, error, exit_code);