Handling Exceptions from a Polling Container in Java

How can you handle exceptions from a polling container in java?

I'm currently getting the following exception:

org.openspaces.core.ObjectConversionException: com.gigaspaces.converter.ConversionException: java.lang.ClassCastException:

on a take from a polling container. As the container is using transactions, it rolls back and tries again. I'm not concerned about the exception itself (it is easy to fix), but I want to report the exception. It looks like the functionality I'm looking for in available in .NET (see link below) but I can't find anything for java? Is it possible?

[ http://www.gigaspaces.com/wiki/displa... ]

Regards,

Noel

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3166]{quote}

asked 2009-07-02 06:20:34 -0600

nkeating gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete