View Javadoc

1   /*
2    * This file is a part of CAST project.
3    * (c) Copyright 2007, AGH University of Science & Technology
4    * https://caribou.iisg.agh.edu.pl/trac/cast
5    *
6    * Licensed under the Eclipse Public License, Version 1.0 (the "License").
7    * You may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    * http://www.eclipse.org/legal/epl-v10.html
10   */
11  /*
12   * File: EditorException.java
13   * Created: 2009-08-06
14   * Author: czerwin
15   * $Id$
16   */
17  
18  package pl.edu.agh.cast.editor;
19  
20  /**
21   * Base editor exception class.
22   * 
23   * @author AGH CAST Team
24   */
25  public class EditorException extends Exception {
26  
27  	private static final long serialVersionUID = 4467909025057826988L;
28  
29  	/**
30  	 * Default empty constructor.
31  	 */
32  	public EditorException() {
33  	}
34  
35  	/**
36  	 * Constructor.
37  	 * 
38  	 * @param message
39  	 *            the detail message
40  	 */
41  	public EditorException(String message) {
42  		super(message);
43  	}
44  
45  	/**
46  	 * Constructor.
47  	 * 
48  	 * @param cause
49  	 *            {@link Throwable} that caused this exception
50  	 */
51  	public EditorException(Throwable cause) {
52  		super(cause);
53  	}
54  
55  	/**
56  	 * Constructor.
57  	 * 
58  	 * @param message
59  	 *            the detail message
60  	 * @param cause
61  	 *            {@link Throwable} that caused this exception
62  	 */
63  	public EditorException(String message, Throwable cause) {
64  		super(message, cause);
65  	}
66  }