Amend HDFS-3666, applied earlier version of the patch.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1362279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-07-16 21:50:58 +00:00
parent 9404bc7cad
commit 551ed65482
1 changed files with 3 additions and 2 deletions

View File

@ -85,9 +85,10 @@ public final class ExitUtil {
}
/**
* Like {@link terminate(int, String)} but takes an exception to
* Like {@link terminate(int, String)} but uses the given throwable to
* initialize the ExitException.
* @param status
* @param t Exception
* @param t throwable used to create the ExitException
* @throws ExitException if System.exit is disabled for test purposes
*/
public static void terminate(int status, Throwable t) throws ExitException {