cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Exception in EJB adapter module

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos
Former Member
0 Kudos

Dear Shabarish,

Thanks for your reply that solves my problem of providing custom messege in Audit log.

But the problem is even if i provide a message with error status file is getting processed succesfully, i want to restrict it to get processed providing an error status at adapter monitoring level and also the file should get picked from the FTP folder.

Regards,

Dheeraj