1 |
ajm |
1.1 |
//---PACKAGE DECLARATION--- |
2 |
|
|
package uk.ac.ukc.iscream.refman; |
3 |
|
|
|
4 |
|
|
//---IMPORTS--- |
5 |
|
|
|
6 |
|
|
/** |
7 |
|
|
* This exception is thrown when a singleton class is already |
8 |
|
|
* intialised when initialised. |
9 |
|
|
* |
10 |
|
|
* @author $Author: ajm4 $ |
11 |
|
|
* @version $Id: CircularIncludeException.java,v 1.2 2000/11/29 21:27:08 ajm4 Exp $ |
12 |
|
|
*/ |
13 |
|
|
public class AlreadyInitialisedException extends RuntimeException { |
14 |
|
|
|
15 |
|
|
//---FINAL ATTRIBUTES--- |
16 |
|
|
|
17 |
|
|
//---STATIC METHODS--- |
18 |
|
|
|
19 |
|
|
//---CONSTRUCTORS--- |
20 |
|
|
|
21 |
|
|
/** |
22 |
|
|
* Takes a string containing the message to be displayed |
23 |
|
|
* for the exception. |
24 |
|
|
* |
25 |
|
|
* @param message the message |
26 |
|
|
*/ |
27 |
|
|
public AlreadyInitialisedException(String message){ |
28 |
|
|
super(message); |
29 |
|
|
} |
30 |
|
|
|
31 |
|
|
//---PUBLIC METHODS--- |
32 |
|
|
|
33 |
|
|
//---PRIVATE METHODS--- |
34 |
|
|
|
35 |
|
|
//---ACCESSOR/MUTATOR METHODS--- |
36 |
|
|
|
37 |
|
|
//---ATTRIBUTES--- |
38 |
|
|
|
39 |
|
|
//---STATIC ATTRIBUTES--- |
40 |
|
|
|
41 |
|
|
} |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|