View Javadoc
1   /*
2    * Copyright 2013 Olivier Godineau
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5    * use this file except in compliance with the License. You may obtain a copy of
6    * the License at http://www.apache.org/licenses/LICENSE-2.0
7    * 
8    * Unless required by applicable law or agreed to in writing, software
9    * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11   * License for the specific language governing permissions and limitations under
12   * the License.
13   */
14  package olg.csv.bean.annotations.processor;
15  /**
16   * Exception thrown on annotation processing.
17   * 
18   * @author Olivier Godineau
19   * 
20   */
21  public class AnnotationProcessorException extends Exception {
22  
23  	/**
24  	 * 
25  	 */
26  	private static final long serialVersionUID = 5581754276159942642L;
27  
28  	/**
29  	 * Constructs a new exception with <code>null</code> as its detail message.
30  	 */
31  	public AnnotationProcessorException() {
32  		super();
33  
34  	}
35  	/**
36  	 * Constructs a new exception with the specified detail message and cause.
37  	 * 
38  	 * @param message
39  	 *            the detail message
40  	 * @param cause
41  	 *            the cause (which is saved for later retrieval by the
42  	 *            {@link #getCause()} method).
43  	 */
44  	public AnnotationProcessorException(String message, Throwable cause) {
45  		super(message, cause);
46  
47  	}
48  	/**
49  	 * Constructs a new exception with the specified detail message.
50  	 * 
51  	 * @param message
52  	 *            the detail message.
53  	 */
54  	public AnnotationProcessorException(String message) {
55  		super(message);
56  
57  	}
58  
59  	/**
60  	 * Constructs a new exception with the specified cause.
61  	 * 
62  	 * @param cause
63  	 *            the cause (which is saved for later retrieval by the
64  	 *            {@link #getCause()} method).
65  	 */
66  	public AnnotationProcessorException(Throwable cause) {
67  		super(cause);
68  
69  	}
70  
71  }