Re: How to handle the JNI Exception

2001-09-03 Thread Dmitri Colebatch
ou still need to adhere to the servlet api - that says you can throw a ServletException - so you will need to wrap your exception in a servlet exception, although I have no idea how to that in JNI. cheers dim On Mon, 3 Sep 2001, 0xLJCCC6BDDCz/0xLJD1D0BEBFD4BAB7FECEF1C6F7D1D0BEBFCAD2z/0xLJC1AACF

How to handle the JNI Exception

2001-09-03 Thread 0xLJCCC6BDDCz/0xLJD1D0BEBFD4BAB7FECEF1C6F7D1D0BEBFCAD2z/0xLJC1AACFEBz
We using JNI in servlet. The JNI throws a exception, and the servlet handle the exception. But now, when we throws the Exception which define in JDK, all of thing ok. When we throws the exception which we define, the tomcat think there is no method to handle that exception etc: MyExceptio