I've create a error detection by specific Exception like shown below
But, when I open the error dashlet, in my exception rule not contain exception. Even though at exception dashlet, I found the exception with throwing class is same as when I create the error detection.
What wrong with my setting ??
Hello @Muhammad N.
Unfortunately no, only PHP Errors can be configure with throwing class and throwing method.
Not for Java/.Net Errors.
But, you can try the suggestion of Nishant by creating a sensor on the throwing class and the throwing method :
Hi @Mathieu C.
I have an example exception that contain same message and same exception class, but different throwing class and throwing method, like below
When I drill down to purepath, you can see in the purepath tree contain this throwing method before exception occure
And this is the detail of the exception
What should I do ? I want to mark this transaction that contain this exception as failed transaction, I still confuse
No possible to mark this transaction that contains this exception as failed transaction.
You can only mark trasaction as failed for all transaction throw BusinessException.
The only way to do this is to create a specific exception class extend BusinessException for verifLoginPassword method in the code.
Also with the suggestion of Nishant, i proposed you another way by creating an incident for alerting or reporting if it can answer to your wish.