src/solaris/demo/jni/Poller/Poller.c

Print this page

        

*** 158,171 **** (*env)->FindClass(env,"java/lang/IllegalStateException"), cause); return -1; } ! #define MEMORY_EXCEPTION(str) throwOutOfMemoryError(env, "Poller:" ## str) ! #define STATE_EXCEPTION(str) throwIllegalStateException(env, "Poller:" ## str) #define INTERRUPT_EXCEPTION(str) throwInterruptedIOException(env, \ ! "Poller:" ## str) jint addfd(JNIEnv *, ioevent_t *, jint, jshort); jint removefd(JNIEnv *, ioevent_t *, jint); /* * Class Poller --- 158,171 ---- (*env)->FindClass(env,"java/lang/IllegalStateException"), cause); return -1; } ! #define MEMORY_EXCEPTION(str) throwOutOfMemoryError(env, "Poller:" str) ! #define STATE_EXCEPTION(str) throwIllegalStateException(env, "Poller:" str) #define INTERRUPT_EXCEPTION(str) throwInterruptedIOException(env, \ ! "Poller:" str) jint addfd(JNIEnv *, ioevent_t *, jint, jshort); jint removefd(JNIEnv *, ioevent_t *, jint); /* * Class Poller