Throwable.printStackTrace(...) prints a throwable and its stack trace to some stream.
Loggers should be used instead to print throwables, as they have many advantages:
try {
/* ... */
} catch(Exception e) {
e.printStackTrace(); // Noncompliant
}
try {
/* ... */
} catch(Exception e) {
LOGGER.log("context", e);
}