You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/03/03 22:15:23 UTC
svn commit: r1785406 -
/jmeter/trunk/src/jorphan/org/apache/jorphan/util/ThreadDumper.java
Author: pmouawad
Date: Fri Mar 3 22:15:22 2017
New Revision: 1785406
URL: http://svn.apache.org/viewvc?rev=1785406&view=rev
Log:
Fix javadocs
Modified:
jmeter/trunk/src/jorphan/org/apache/jorphan/util/ThreadDumper.java
Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/util/ThreadDumper.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/util/ThreadDumper.java?rev=1785406&r1=1785405&r2=1785406&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/util/ThreadDumper.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/util/ThreadDumper.java Fri Mar 3 22:15:22 2017
@@ -44,7 +44,7 @@ public class ThreadDumper {
/**
* @return Name of file containing thread dump
- * @throws Exception
+ * @throws Exception if file cannot we written
*/
public static String threadDump() throws Exception {
return threadDump(new File(".")); //$NON-NLS-1$
@@ -53,7 +53,7 @@ public class ThreadDumper {
/**
* @param basedir {@link File} Base directory
* @return Name of file containing thread dump
- * @throws Exception
+ * @throws Exception if file cannot we written
*/
public static String threadDump(File basedir) throws Exception {
SimpleDateFormat timestampFormat = new SimpleDateFormat("yyyyMMdd_hhmmss_SSS");
@@ -71,7 +71,7 @@ public class ThreadDumper {
/**
* Write Thread Dump
* @param writer {@link Writer}
- * @throws IOException
+ * @throws IOException if file cannot we written
*/
public static void writeThreadDump(Writer writer) throws IOException {
ThreadMXBean threadMxBean = ManagementFactory.getThreadMXBean();