View Javadoc

1   /*
2    * $HeadURL: $
3    * $Date: $
4    * $Revision: $
5    * $Author: $
6    * 
7    * Copyright (c) 2005 MindTree Consulting Ltd. 
8    * 
9    * This file is part of Insight.
10   * 
11   * Insight is free software: you can redistribute it and/or modify it under the 
12   * terms of the GNU General Public License as published by the Free Software 
13   * Foundation, either version 3 of the License, or (at your option) any later 
14   * version.
15   * 
16   * Insight is distributed in the hope that it will be useful, but 
17   * WITHOUT ANY WARRANTY; without even the implied warranty of 
18   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General 
19   * Public License for more details.
20   * 
21   * You should have received a copy of the GNU General Public License along with 
22   * Insight.  If not, see <http://www.gnu.org/licenses/>.
23   */
24  
25  package com.mindtree.techworks.insight.preferences;
26  
27  
28  /**
29   * This exception is thrown from any of the PreferenceDataHandlers, if there is 
30   * some error during instantiation.
31   * 
32   * 
33   * @author Bindul Bhowmik
34   * @version $Revision: 27 $ $Date: 2007-12-16 04:58:03 -0700 (Sun, 16 Dec 2007) $
35   * 
36   */
37  public class PreferenceHandlerInstantiationException extends Exception {
38  
39  	/**
40  	 * Used for object serialization
41  	 */
42  	private static final long serialVersionUID = -4084221485861497786L;
43  	
44  	/**
45  	 * @param message The message describing this exception
46  	 */
47  	public PreferenceHandlerInstantiationException (String message) {
48  
49  		super(message);
50  	}
51  	/**
52  	 * @param message The message describing this exception
53  	 * @param cause The Exception that caused this exception
54  	 */
55  	public PreferenceHandlerInstantiationException (String message,
56  			Throwable cause) {
57  
58  		super(message, cause);
59  	}
60  	/**
61  	 * @param cause The Exception that caused this exception
62  	 */
63  	public PreferenceHandlerInstantiationException (Throwable cause) {
64  
65  		super(cause);
66  	}
67  }