1 |
+ |
/* |
2 |
+ |
* i-scream central monitoring system |
3 |
+ |
* http://www.i-scream.org |
4 |
+ |
* Copyright (C) 2000-2002 i-scream |
5 |
+ |
* |
6 |
+ |
* This program is free software; you can redistribute it and/or |
7 |
+ |
* modify it under the terms of the GNU General Public License |
8 |
+ |
* as published by the Free Software Foundation; either version 2 |
9 |
+ |
* of the License, or (at your option) any later version. |
10 |
+ |
* |
11 |
+ |
* This program is distributed in the hope that it will be useful, |
12 |
+ |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
+ |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
+ |
* GNU General Public License for more details. |
15 |
+ |
* |
16 |
+ |
* You should have received a copy of the GNU General Public License |
17 |
+ |
* along with this program; if not, write to the Free Software |
18 |
+ |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 |
+ |
*/ |
20 |
+ |
|
21 |
|
//---PACKAGE DECLARATION--- |
22 |
< |
package uk.ac.ukc.iscream.util; |
22 |
> |
package uk.org.iscream.cms.util; |
23 |
|
|
24 |
+ |
//---IMPORTS--- |
25 |
+ |
|
26 |
+ |
/** |
27 |
+ |
* This exception is thrown if a "consumer" makes a request |
28 |
+ |
* for a queue that does not exist. This should not happen |
29 |
+ |
* if the consumer makes proper use of the available queue |
30 |
+ |
* management methods. |
31 |
+ |
* |
32 |
+ |
* @author $Author$ |
33 |
+ |
* @version $Id$ |
34 |
+ |
*/ |
35 |
|
public class InvalidQueueException extends Exception { |
36 |
+ |
|
37 |
+ |
//---FINAL ATTRIBUTES--- |
38 |
+ |
|
39 |
+ |
//---STATIC METHODS--- |
40 |
+ |
|
41 |
+ |
//---CONSTRUCTORS--- |
42 |
|
|
43 |
+ |
/** |
44 |
+ |
* Takes a string containing a message detailing |
45 |
+ |
* specifics about the exception. |
46 |
+ |
* |
47 |
+ |
* @param message the exception specifics |
48 |
+ |
*/ |
49 |
|
public InvalidQueueException(String message){ |
50 |
|
super(message); |
51 |
|
} |
9 |
– |
|
10 |
– |
} |
52 |
|
|
53 |
+ |
//---PUBLIC METHODS--- |
54 |
|
|
55 |
+ |
//---PRIVATE METHODS--- |
56 |
|
|
57 |
+ |
//---ACCESSOR/MUTATOR METHODS--- |
58 |
+ |
|
59 |
+ |
//---ATTRIBUTES--- |
60 |
+ |
|
61 |
+ |
//---STATIC ATTRIBUTES--- |
62 |
+ |
|
63 |
+ |
} |