On Mon, 2006-04-03 at 15:14 -0500, Archie Cobbs wrote:
> Dalibor Topic wrote:
> > functions. Some of those are a little odd, for example it is not clear
> > to me what to do if JNI function call ThrowNew fails. rats and
> 
> Good question.. I think the only reasonable answer is "proceed with
> the knowledge that an exception was posted, but perhaps not the one
> you asked for (e.g., OutOfMemoryError or somesuch)".

Yeah. 

I was just wondering if "if throw fails, check if an exception was
thrown, and dump the exception to stderr before continuing/exiting" was
maybe the intent of the API author, but found nothing like that in the
literature. I have some trouble figuring out why one would make throw*
not return void otherwise.

cheers,
dalibor topic


Reply via email to