RuntimeExceptionWithAttachments (@NonNls @NotNull String message) { return new RuntimeExceptionWithAttachments( message + "; see " + DOCUMENTATION_URL + " for details" + "\n" + getThreadDetails(), new Attachment("threadDump.txt", ThreadDumper.dumpThreadsToString()) ); }