captureException(ex) method.
Add dependency before starting with the api.
pom.xml
Java Agent API
Capture Java Exceptions with Atatus APM Agent API
Capture API exceptions using Atatus Java agent.
All exceptions from Java apps are automatically captured by Atatus. If you wish to send exceptions manually, you can do so by using the