public synchronized void throwing(String sourceClass, String sourceMethod, Throwable thrown) {
    LogRecord record = new LogRecord(Level.FINER, "THROWN");
    record.setSourceClassName(sourceClass);
    record.setSourceMethodName(sourceMethod);
    record.setThrown(thrown);
    log(record);
  }
Log throwing an exception. The logging is done using the FINER level.
geode-core/src/test/java/org/apache/persistence/logging/Logger.java