hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r692593 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/RegionException.java
Date Sat, 06 Sep 2008 00:32:17 GMT
Author: stack
Date: Fri Sep  5 17:32:16 2008
New Revision: 692593

URL: http://svn.apache.org/viewvc?rev=692593&view=rev
Log:
HBASE-872 Getting exceptions in shell when creating/disabling tablesk

Added:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/RegionException.java

Added: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/RegionException.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/RegionException.java?rev=692593&view=auto
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/RegionException.java (added)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/RegionException.java Fri Sep  5 17:32:16
2008
@@ -0,0 +1,43 @@
+/**
+ * Copyright 2008 The Apache Software Foundation
+ *
+ * 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.hbase;
+
+import java.io.IOException;
+/**
+ * Thrown when something happens related to region handling.
+ * Subclasses have to be more specific.
+ */
+public class RegionException extends IOException {
+  private static final long serialVersionUID = 1473510258071111371L;
+
+  /** default constructor */
+  public RegionException() {
+    super();
+  }
+
+  /**
+   * Constructor
+   * @param s message
+   */
+  public RegionException(String s) {
+    super(s);
+  }
+
+}



Mime
View raw message