cancel
Showing results for 
Search instead for 
Did you mean: 

Show Exception Details in Text Area

Former Member
0 Kudos

Hi

I want to show the Exception Details in Text Area

So please let me know how to acivhe this in Web dyn pro application

mmukesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

I guess it is TextView instead on TearView

create a context attribute ..(errorMsg)

try{

statements 1;

State,emt 2;

}catch(Exception e){

wdContext.currentConetxtElement.setErrormsg(e.getMessage);

e.printStackTrace();

}

bind the text property of the textview with the conetxt Attribute ErrrMsg

Regards

AM

Former Member
0 Kudos

hi,

you have a <b>message area</b> UI element which you can use to show the exception at particular place in your application or do as what mathew says.

regards,

Gopi

Former Member
0 Kudos

Hi,

create a context attribute..bind this with textEdit

Set the context attribute when you get the execption

Regards

AM

Former Member
0 Kudos

Hi Mathew

Thanks for your reply

Here is my requirement

try{

statements 1;

State,emt 2;

}catch(Exception e){

e.printStackTrace();

}

here e.printStackTrace(); will print the error messages.

so these error messages i want to show in a TearView UI element.

so please let me know the procedure and if possible code .

regards

mmukesh