From 551ed654829195929d5621814c0e88394d0fd972 Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Mon, 16 Jul 2012 21:50:58 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/hadoop/util/ExitUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ExitUtil.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ExitUtil.java index 8adcb13ac43..a4af34666ef 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ExitUtil.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ExitUtil.java @@ -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 {