Hello all,
I get this strange behaviour. The scenario: Session bean accessing Resource Adapter. The RA throws an exception. But the exception is never caught by the Session bean method.
Snippet from Session Bean:
public void put(Attachment attachment) throws de.coryx.cpt.PlatformException { try { /** * BL */ } catch (de.coryx.cps.cfs.CfsException ex1) { ex1.printStackTrace(); throw new de.coryx.cpt.PlatformException(ex1); } catch (Exception ex) { System.out.println("Exception class ==>> " + ex.getClass().getName()); throw new de.coryx.cpt.PlatformException(PlatformException.REASON_RUNTIME, ex); } }
[STDOUT] Exception class ==>> de.coryx.cps.cfs.CfsException