Trycatch throw java exception

Hi,

Is it possible to throw a java exception (i.e. a java object) and catch it in flow, rather than just a text string?

I have looked at wm.art.error:throwDetailedError, but this logs a message, which I don’t really want.

Thanks.

to indicate a failure status in Sequence just throw ServiceException like

catch (Exception ecp)
{
throw new ServiceException (ecp.toString());
}

It would help if you could describe what you are trying to accomplish.