View Javadoc

1   /**
2    *
3    * Licensed under the Apache License, Version 2.0 (the "License");
4    * you may not use this file except in compliance with the License.
5    * You may obtain a copy of the License at
6    *
7    *     http://www.apache.org/licenses/LICENSE-2.0
8    *
9    * Unless required by applicable law or agreed to in writing, software
10   * distributed under the License is distributed on an "AS IS" BASIS,
11   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   * See the License for the specific language governing permissions and
13   * limitations under the License.
14   */
15  package org.apache.hadoop.hbase;
16  import java.io.IOException;
17  
18  import org.apache.hadoop.classification.InterfaceAudience;
19  import org.apache.hadoop.classification.InterfaceStability;
20  
21  
22  /**
23   * Thrown during flush if the possibility snapshot content was not properly
24   * persisted into store files.  Response should include replay of hlog content.
25   */
26  @InterfaceAudience.Public
27  @InterfaceStability.Stable
28  public class DroppedSnapshotException extends IOException {
29  
30    private static final long serialVersionUID = -5463156580831677374L;
31  
32    /**
33     * @param msg
34     */
35    public DroppedSnapshotException(String msg) {
36      super(msg);
37    }
38  
39    /**
40     * default constructor
41     */
42    public DroppedSnapshotException() {
43      super();
44    }
45  }