[4286] in java-interest

home help back first fref pref prev next nref lref last post

Exceptions from java native methods!!

daemon@ATHENA.MIT.EDU (Ramprasad Golla)
Fri Dec 15 13:56:38 1995

Date: Fri, 15 Dec 1995 10:11:16 -0700
From: Ramprasad_Golla@novell.com (Ramprasad Golla)
To: java-interest@java.sun.com

Hi Everyone,

Can native methods in Java throw exceptions?
PlainSocketImpl class defines private native void socketCreate(boolean
stream) throws IOException;
I am very surprised to see this, because code for the native methods are
in C Dlls.  First there are no exceptions in C, how does this work?
Can any one shed some light on this?

Thanks in advance
Ram rgolla@novell.com


-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post