01: /*
02: * Copyright 2004-2006 Fouad HAMDI.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: package org.csvbeans.specs;
17:
18: import org.csvbeans.CSVBeansException;
19:
20: /**
21: * An exception relative to a specification file.
22: *
23: * @author Fouad Hamdi
24: * @since 0.5
25: */
26: public class SpecificationsFileException extends CSVBeansException {
27: private final static long serialVersionUID = 1L;
28:
29: /**
30: * Constructor.
31: *
32: * @param msg
33: * a message describing the problem.
34: */
35: public SpecificationsFileException(String msg) {
36: super (null, msg);
37: }
38:
39: /**
40: * Constructor.
41: *
42: * @param msg
43: * the error message
44: * @param t
45: * the underlying error
46: */
47: public SpecificationsFileException(String msg, Throwable t) {
48: super(null, msg, t);
49: }
50: }
|