Use Thread.currentThread().getStackTrace() instead of creating a Throwable.