001 /**
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements. See the NOTICE file distributed with this
004 * work for additional information regarding copyright ownership. The ASF
005 * licenses this file to you under the Apache License, Version 2.0 (the
006 * "License"); you may not use this file except in compliance with the License.
007 * You may obtain a copy of the License at
008 *
009 * http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
013 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
014 * License for the specific language governing permissions and limitations under
015 * the License.
016 */
017
018 package org.apache.hadoop.io.file.tfile;
019
020 import java.io.IOException;
021
022 import org.apache.hadoop.classification.InterfaceAudience;
023 import org.apache.hadoop.classification.InterfaceStability;
024
025 /**
026 * Exception - Meta Block with the same name already exists.
027 */
028 @SuppressWarnings("serial")
029 @InterfaceAudience.Public
030 @InterfaceStability.Stable
031 public class MetaBlockAlreadyExists extends IOException {
032 /**
033 * Constructor
034 *
035 * @param s
036 * message.
037 */
038 MetaBlockAlreadyExists(String s) {
039 super(s);
040 }
041 }