01: // $Id: QueueClosedException.java,v 1.2 2006/07/13 07:16:14 belaban Exp $
02:
03: package org.jgroups.util;
04:
05: public class QueueClosedException extends Exception {
06:
07: public QueueClosedException() {
08:
09: }
10:
11: public QueueClosedException(String msg) {
12: super (msg);
13: }
14:
15: public String toString() {
16: if (this .getMessage() != null)
17: return "QueueClosedException: " + this .getMessage();
18: else
19: return "QueueClosedException";
20: }
21: }
|