Question

6
Replies
2189
Views
PrashantL1872 Member since 2012 3 posts
Capgemini India Private LTD
Posted: May 31, 2016
Last activity: September 8, 2017
Closed

Want to get exception detail in a property

If any step in an activity throws exception then we should catch the whole java stack trace in a property and have to send this stack trace by email.

Steps to Reproduce

I used the below statement in a property-set method and applied exception handling to catch the exception
Local.mydata = 1/0

I can only catch pxThread.pxMethodStatus in a string to display. But I have to catch the whole java stack trace so that I can send email to Product Support team with fill stack trace of the exception.

pxThread.pxMethodStatus can only show the below statement.
Fail: Java Exception: java.lang.ArithmeticException: / by zero

If we dont apply anything in JUMP button for exception handling then we see Exception event in tracer. if we click on Exception event in tracer then we see the full stack of java exception that is what we needed somehow.

Message was edited by: Lochan to add Category

System Administration
Moderation Team has archived post
Share this page LinkedIn