Java agent APM and valid errors

I can see that all "valid" errors, when I throw my own exception and handle them like this

if (N > 0) {
   throw new MyCustomException();
}

All such "errors" shows in "Errors" page in APM, but these are not real errors .
Is it possible somehow not to count such exceptions as errors or I need to rewrite my code ?

Yes, it is possible through the ignore_exceptions config option.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.