Hi all In the exception handling of new ivy (6.0) we have a new term that is BpmError, i'm catching it but now i want to know what is the rootcause of that exception, so how can i get it from BpmError. Here is the stacktrace of exception: The read box is the root cause actually that i want to get it out. Is there any way? Thanks asked 07.12.2016 at 12:05 trungdv |
The method error.getTechnicalCause() returns the origin thrown exception in the Process Engine. To get the 'root' exception call the method Throwable.getCause() as many times as necessary...
answered 08.12.2016 at 14:49 Flavio Sadeghi ♦♦ yes, i came up with the similar solution:
(09.12.2016 at 09:27)
trungdv
1
Continues...
//When using it Throwable ex = new CauseFinder(new ConcurrencyErrorThrowablePredicate()).findCause(error.getCause());
(09.12.2016 at 09:27)
trungdv
|
answered 07.12.2016 at 13:22 Reguel Werme... ♦♦ Thanks but actually it return ch.ivyteam.ivy.scripting.exceptions.runtime.IvyScriptRuntimeException. i also tried with all api i see but none of them return what i want
(08.12.2016 at 02:16)
trungdv
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 07.12.2016 at 12:05
Seen: 2,162 times
Last updated: 09.12.2016 at 09:37