APM Java agent - about tracking errors