How can I access the exception message in a exception start process element? Original Question (in German only): Ich versuche für unsere Studierenden (Unterricht an der ZHAW) eine möglichst generische Fehlerbehandlung aufzuzeigen. Folgendes schwebt mir vor:
Ich wäre sehr froh um eine Antwort bis 13.11. 12 Uhr, damit ich rechtzeitig ein Video für die Studierenden erstellen kann.
asked 11.11.2013 at 16:04 Björn Reto Weiss ♦♦ |
In the inscription maks of the process element exception start a variable called
answered 11.11.2013 at 16:54 Reto Weiss ♦♦ Dear Reto Thanks for your answer. It works, but I only get the message without details. I would like to get the whole exception object from the runtime log to be flexible enough. But I don't know, how to get this logEntry. There are so many entries, when I search for 'log' in the Data Type Browser - which class to choose (ch.ivyteam.log!? org.apache.log4j!?) and how to use? Kind regards Björn
(12.11.2013 at 09:22)
Björn
Hi Björn Unfortunately it is at the moment not possible to access the exception object itself. Only the exception message is available. It is also not possible to get a log entry object for the exception because on the server the log is written to a file an not kept in memory as it is on the designer runtime log. We know that this is a shortcoming of Xpert.ivy. We plan to improve exception handling in one of the upcoming releases. Regards Reto
(12.11.2013 at 09:38)
Reto Weiss ♦♦
Hi Reto Thanks for your explanation. I will work with the limitation and I am looking forward to the improvement. Björn
(12.11.2013 at 13:01)
Björn
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 11.11.2013 at 16:04
Seen: 6,563 times
Last updated: 12.11.2013 at 13:01
Dear Björn
Please write questions in english so that users that don't understand german also can read and search it.
Regards