gadget
unread,Dec 13, 2012, 8:22:15 PM12/13/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to andro...@googlegroups.com
Hello everyone, I wonder if anyone has had a similar issue?
My problem is this - I run a socket thread (pthread, attached to jvm) that listens on a java socket with a timeout. If no message arrives, a socket timeout exception is thrown, which I check for immediately following the Receive call. Here is the code:
localEnv->CallVoidMethod(mjoEndpointSocket, jmidReceive, joPacket);
// -- check timeout exception, reset it
if ( localEnv->ExceptionCheck() ) {
localEnv->ExceptionClear();
}
However Eclipse (Indigo) keeps breaking on this exception. I've tried disabling breaking on caugh/uncaught exceptions via the 'J!' button in the debugger view, but to no effect.