| 1 |
tdb |
1.5 |
/* |
| 2 |
|
|
* i-scream central monitoring system |
| 3 |
tdb |
1.8 |
* http://www.i-scream.org |
| 4 |
tdb |
1.5 |
* 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 |
tdb |
1.1 |
//---PACKAGE DECLARATION--- |
| 22 |
tdb |
1.7 |
package uk.org.iscream.cms.util; |
| 23 |
tdb |
1.1 |
|
| 24 |
tdb |
1.2 |
//---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 |
tdb |
1.5 |
* @author $Author: tdb $ |
| 33 |
tdb |
1.8 |
* @version $Id: InvalidQueueException.java,v 1.7 2003/02/05 14:27:59 tdb Exp $ |
| 34 |
tdb |
1.2 |
*/ |
| 35 |
tdb |
1.1 |
public class InvalidQueueException extends Exception { |
| 36 |
tdb |
1.2 |
|
| 37 |
|
|
//---FINAL ATTRIBUTES--- |
| 38 |
|
|
|
| 39 |
|
|
//---STATIC METHODS--- |
| 40 |
|
|
|
| 41 |
|
|
//---CONSTRUCTORS--- |
| 42 |
tdb |
1.1 |
|
| 43 |
tdb |
1.2 |
/** |
| 44 |
|
|
* Takes a string containing a message detailing |
| 45 |
|
|
* specifics about the exception. |
| 46 |
|
|
* |
| 47 |
|
|
* @param message the exception specifics |
| 48 |
|
|
*/ |
| 49 |
tdb |
1.1 |
public InvalidQueueException(String message){ |
| 50 |
|
|
super(message); |
| 51 |
|
|
} |
| 52 |
|
|
|
| 53 |
tdb |
1.2 |
//---PUBLIC METHODS--- |
| 54 |
|
|
|
| 55 |
|
|
//---PRIVATE METHODS--- |
| 56 |
|
|
|
| 57 |
|
|
//---ACCESSOR/MUTATOR METHODS--- |
| 58 |
|
|
|
| 59 |
|
|
//---ATTRIBUTES--- |
| 60 |
tdb |
1.1 |
|
| 61 |
tdb |
1.2 |
//---STATIC ATTRIBUTES--- |
| 62 |
tdb |
1.1 |
|
| 63 |
tdb |
1.7 |
} |