1 |
tdb |
1.2 |
//---PACKAGE DECLARATION--- |
2 |
|
|
package uk.ac.ukc.iscream.util; |
3 |
|
|
|
4 |
|
|
//---IMPORTS--- |
5 |
|
|
|
6 |
|
|
/** |
7 |
|
|
* This exception is thrown if a "consumer" makes a request |
8 |
|
|
* for a queue that does not exist. This should not happen |
9 |
|
|
* if the consumer makes proper use of the available queue |
10 |
|
|
* management methods. |
11 |
|
|
* |
12 |
|
|
* @author $Author: tdb1 $ |
13 |
|
|
* @version $Id: InvalidQueueException.java,v 1.2 2001/01/18 01:55:10 tdb1 Exp $ |
14 |
|
|
*/ |
15 |
tdb |
1.1 |
public class InvalidQueueException extends Exception { |
16 |
tdb |
1.2 |
|
17 |
|
|
//---FINAL ATTRIBUTES--- |
18 |
|
|
|
19 |
|
|
//---STATIC METHODS--- |
20 |
|
|
|
21 |
|
|
//---CONSTRUCTORS--- |
22 |
tdb |
1.1 |
|
23 |
tdb |
1.2 |
/** |
24 |
|
|
* Takes a string containing a message detailing |
25 |
|
|
* specifics about the exception. |
26 |
|
|
* |
27 |
|
|
* @param message the exception specifics |
28 |
|
|
*/ |
29 |
tdb |
1.1 |
public InvalidQueueException(String message){ |
30 |
|
|
super(message); |
31 |
|
|
} |
32 |
|
|
|
33 |
tdb |
1.2 |
//---PUBLIC METHODS--- |
34 |
|
|
|
35 |
|
|
//---PRIVATE METHODS--- |
36 |
|
|
|
37 |
|
|
//---ACCESSOR/MUTATOR METHODS--- |
38 |
|
|
|
39 |
|
|
//---ATTRIBUTES--- |
40 |
tdb |
1.1 |
|
41 |
tdb |
1.2 |
//---STATIC ATTRIBUTES--- |
42 |
tdb |
1.1 |
|
43 |
tdb |
1.2 |
} |