hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r679772 - in /hadoop/core/trunk/src/core/org/apache/hadoop/net: ConnTimeoutException.java ReadTimeoutException.java
Date Fri, 25 Jul 2008 12:07:31 GMT
Author: ddas
Date: Fri Jul 25 05:07:30 2008
New Revision: 679772

URL: http://svn.apache.org/viewvc?rev=679772&view=rev
Log:
HADOOP-3327. Adding the exception classes.

Added:
    hadoop/core/trunk/src/core/org/apache/hadoop/net/ConnTimeoutException.java
    hadoop/core/trunk/src/core/org/apache/hadoop/net/ReadTimeoutException.java

Added: hadoop/core/trunk/src/core/org/apache/hadoop/net/ConnTimeoutException.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/core/org/apache/hadoop/net/ConnTimeoutException.java?rev=679772&view=auto
==============================================================================
--- hadoop/core/trunk/src/core/org/apache/hadoop/net/ConnTimeoutException.java (added)
+++ hadoop/core/trunk/src/core/org/apache/hadoop/net/ConnTimeoutException.java Fri Jul 25
05:07:30 2008
@@ -0,0 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.net;
+
+import java.io.IOException;
+
+/** Thrown for connection time outs. */
+public class ConnTimeoutException extends IOException {
+  private static final long serialVersionUID = -1029419433849202074L;
+  public ConnTimeoutException(String description) {
+    super(description);
+  }
+}

Added: hadoop/core/trunk/src/core/org/apache/hadoop/net/ReadTimeoutException.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/core/org/apache/hadoop/net/ReadTimeoutException.java?rev=679772&view=auto
==============================================================================
--- hadoop/core/trunk/src/core/org/apache/hadoop/net/ReadTimeoutException.java (added)
+++ hadoop/core/trunk/src/core/org/apache/hadoop/net/ReadTimeoutException.java Fri Jul 25
05:07:30 2008
@@ -0,0 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.net;
+
+import java.io.IOException;
+
+/** Thrown for read time outs. */
+public class ReadTimeoutException extends IOException {
+  private static final long serialVersionUID = 4408709389112880589L;
+  public ReadTimeoutException(String description) {
+    super(description);
+  }
+}



Mime
View raw message