The Artima Developer Community
Sponsored Link

Java Answers Forum
JNI

1 reply on 1 page. Most recent reply: Feb 27, 2006 7:27 AM by Vitaly Shelest

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Makhmud Kasumov

Posts: 16
Nickname: marik
Registered: Oct, 2005

JNI Posted: Jan 27, 2006 11:43 AM
Reply to this message Reply
Advertisement
Anyone who knows something about JNI, may be you can help me.

I need an example of throwing an exception from the native code using env->Throw method.
I've got an exception class which has a constructor with two String parameters. I need to throw this exception calling the very constructor. I cannot use env->ThrowNew, as I understand, cause it receives only one String parameter.

Can anyone give me an example?


Vitaly Shelest

Posts: 1
Nickname: vitallis
Registered: Jan, 2006

Re: JNI Posted: Feb 27, 2006 7:27 AM
Reply to this message Reply
See
http://simtel.net/product.php[id]93174[SiteID]simtel.net

Flat View: This topic has 1 reply on 1 page
Topic: can't get the output to come up in class of a java program Previous Topic   Next Topic Topic: servlet help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use