View Javadoc
1   /*
2    * Copyright 2007 Kasper B. Graversen
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  package org.supercsv.exception;
17  
18  /**
19   * Wraps the following reflection related checked exceptions:
20   * <p>
21   * <tt>
22   * ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException,
23   * NoSuchMethodException</tt>
24   * <p>
25   * 
26   * @since 1.30
27   * @author Kasper B. Graversen
28   */
29  public class SuperCsvReflectionException extends SuperCsvException {
30  	
31  	private static final long serialVersionUID = 1L;
32  	
33  	/**
34  	 * Constructs a new <tt>SuperCsvReflectionException</tt>.
35  	 * 
36  	 * @param msg
37  	 *            the exception message
38  	 */
39  	public SuperCsvReflectionException(final String msg) {
40  		super(msg);
41  	}
42  	
43  	/**
44  	 * Constructs a new <tt>SuperCsvReflectionException</tt>.
45  	 * 
46  	 * @param msg
47  	 *            the exception message
48  	 * @param t
49  	 *            the nested exception
50  	 */
51  	public SuperCsvReflectionException(final String msg, final Throwable t) {
52  		super(msg, null, t);
53  	}
54  	
55  }