1 /*
2 * Copyright 2014 Jin Kwon <jinahya_at_gmail.com>.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18 package com.github.jinahya.simple.file.back;
19
20
21 /**
22 * An exception for file operation.
23 *
24 * @author Jin Kwon <jinahya_at_gmail.com>
25 */
26 public class FileBackException extends Exception {
27
28
29 private static final long serialVersionUID = -4261800671834358794L;
30
31
32 public FileBackException() {
33
34 super();
35 }
36
37
38 public FileBackException(final String message) {
39
40 super(message);
41 }
42
43
44 public FileBackException(final String message, final Throwable cause) {
45
46 super(message, cause);
47 }
48
49
50 public FileBackException(final Throwable cause) {
51
52 super(cause);
53 }
54
55
56 public FileBackException(final String message, final Throwable cause,
57 final boolean enableSuppression,
58 final boolean writableStackTrace) {
59
60 super(message, cause, enableSuppression, writableStackTrace);
61 }
62
63
64 }
65