Lines Matching refs:exception
92 jniThrowException(env, "java/lang/Exception", NULL);
127 ALOGW("An exception occurred while notifying an event.");
156 // If exception is NULL and opStatus is not OK, this method sends an error
157 // event to the client application; otherwise, if exception is not NULL and
158 // opStatus is not OK, this method throws the given exception to the client
160 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message)
162 if (exception == NULL) { // Don't throw exception. Instead, send an event.
167 } else { // Throw exception!
175 jniThrowException( env, exception, message);
180 jniThrowException( env, exception, msg);