KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > lutris > appserver > server > session > SessionException


1
2 /*
3  * Enhydra Java Application Server Project
4  *
5  * The contents of this file are subject to the Enhydra Public License
6  * Version 1.1 (the "License"); you may not use this file except in
7  * compliance with the License. You may obtain a copy of the License on
8  * the Enhydra web site ( http://www.enhydra.org/ ).
9  *
10  * Software distributed under the License is distributed on an "AS IS"
11  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
12  * the License for the specific terms governing rights and limitations
13  * under the License.
14  *
15  * The Initial Developer of the Enhydra Application Server is Lutris
16  * Technologies, Inc. The Enhydra Application Server and portions created
17  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
18  * All Rights Reserved.
19  *
20  * Contributor(s):
21  *
22  * $Id: SessionException.java,v 1.1 2005/07/13 11:09:06 slobodan Exp $
23  */

24
25 package com.lutris.appserver.server.session;
26 import com.lutris.util.ChainedException;
27
28 /**
29  * Base Session exception.
30  *
31  * @version $Revision: 1.1 $
32  * @author Kyle Clark
33  */

34 public class SessionException extends ChainedException {
35     /**
36      * Construct a exception without a specified cause.
37      *
38      * @param msg The message associated with the exception.
39      */

40     public SessionException(String JavaDoc msg) {
41         super(msg);
42     }
43
44     /**
45      * Construct a exception with an associated causing exception.
46      *
47      * @param msg The message associated with the exception.
48      * @param cause The error or exception that cause this
49      * exception.
50      */

51     public SessionException(String JavaDoc msg, Throwable JavaDoc cause) {
52         super(msg, cause);
53     }
54
55     /**
56      * Construct a exception with an associated causing exception.
57      *
58      * @param cause The error or exception that cause this
59      * exception.
60      */

61     public SessionException(Throwable JavaDoc cause) {
62         super(cause);
63     }
64 }
65
66
67
68
Popular Tags