Skip to Content
Former Member
Nov 25, 2009 at 12:42 PM

Custom Exception in EJB adapter module


Dear Experts,

How can we provide Custom exception message in EJB implemented adapter module for file sender adapter. We want to display our custom message (Say 'Adapter engine processing Failed') to be logged in Adapter engine which can be monitored through RWB.

Condition for raising custom message may be:

int i = 12;

if (i==12)

---raise custom exception message('Adapter engine processing Failed')

Please help us in this.

Thanks & Regards,

Dheeraj Srivastava