소스 검색

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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1362278 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins 13 년 전
부모
커밋
4b519219de
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ExitUtil.java

+ 3 - 2
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 {