Skip to Content
0
Former Member
Jan 16, 2008 at 10:34 AM

regarding reporting exception

18 Views

Hi forum,

I want to show an exception message in 3 lines as follows in my project ie 1st line print :Error occured while proccessing

2nd line: error code

3rd line:error stack trace:(exception)

I tried using the new line character ie

wdThis

.wdGetAPI()

.getComponent()

.getMessageManager()

.reportException("Problem occured while processing Agency Fee. Please contact the System Administrator.""\r\n"exceptionId"\r\nStack Trace:"exception,false);

but this is not working. Is there possible way to do this?

Else another alternate would be printing 3 report exception but it will contain 3 error symbols for one error message.

Thanks & Regards

Jaspreet Kaur Grewal