01: /*
02: * Copyright (C) 2001, 2002 Robert MacGrogan
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2.1 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17: *
18: *
19: * $Archive: SourceJammer$
20: * $FileName: NoSuchSessionException.java$
21: * $FileID: 4513$
22: *
23: * Last change:
24: * $AuthorName: Rob MacGrogan$
25: * $Date: 4/23/03 5:20 PM$
26: * $Comment: Replaced GPL header with LGPL header.$
27: */
28:
29: package org.sourcejammer.server.security;
30:
31: import org.sourcejammer.util.SourceJammerExceptionChain;
32:
33: /**
34: * Title: $FileName: NoSuchSessionException.java$
35: * @version $VerNum: 3$
36: * @author $AuthorName: Rob MacGrogan$<br><br>
37: *
38: * $Description: $<br>
39: * $KeyWordsOff: $
40: */
41: public class NoSuchSessionException extends SourceJammerExceptionChain {
42:
43: private static final String DEFAULT_MESSAGE = "There is no active session in the system with the id supplied.";
44:
45: public NoSuchSessionException() {
46: this (DEFAULT_MESSAGE);
47: }
48:
49: public NoSuchSessionException(String msg) {
50: super (msg);
51: }
52:
53: public NoSuchSessionException(String msg, Exception ex) {
54: super(msg, ex);
55: }
56: }
|