From 9553b1c946bcea6cc066f7cb65d6cda44d9702c9 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sat, 6 Sep 2008 00:32:16 +0000 Subject: [PATCH] HBASE-872 Getting exceptions in shell when creating/disabling tablesk git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@692593 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/hadoop/hbase/RegionException.java | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/java/org/apache/hadoop/hbase/RegionException.java diff --git a/src/java/org/apache/hadoop/hbase/RegionException.java b/src/java/org/apache/hadoop/hbase/RegionException.java new file mode 100644 index 00000000000..63063a5e95e --- /dev/null +++ b/src/java/org/apache/hadoop/hbase/RegionException.java @@ -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); + } + +}