From ba62b9ccb9c4914a76d6acb244722c21b554b733 Mon Sep 17 00:00:00 2001
From: Todd Lipcon <todd@cloudera.com>
Date: Thu, 16 Jul 2009 16:21:59 -0700
Subject: [PATCH] HADOOP-5613. Change S3Exception to checked exception. Contributed by Andrew Hitchcock.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@770685 13f79535-47bb-0310-9956-ffa450edef68
---
 src/core/org/apache/hadoop/fs/s3/S3Exception.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/core/org/apache/hadoop/fs/s3/S3Exception.java b/src/core/org/apache/hadoop/fs/s3/S3Exception.java
index bbc52c4..7857534 100644
--- a/src/core/org/apache/hadoop/fs/s3/S3Exception.java
+++ b/src/core/org/apache/hadoop/fs/s3/S3Exception.java
@@ -18,10 +18,12 @@
 
 package org.apache.hadoop.fs.s3;
 
+import java.io.IOException;
+
 /**
  * Thrown if there is a problem communicating with Amazon S3.
  */
-public class S3Exception extends RuntimeException {
+public class S3Exception extends IOException {
 
   public S3Exception(Throwable t) {
     super(t);
-- 
1.6.0.4

