KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > lutris > appserver > server > sessionEnhydra > CreateSessionException


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: CreateSessionException.java,v 1.1 2005/07/13 11:09:06 slobodan Exp $
23  */

24
25 package com.lutris.appserver.server.sessionEnhydra;
26
27 import com.lutris.appserver.server.session.SessionException;
28
29 /**
30  * Exception thrown by StandardSessionHome if a session cannot be created.
31  *
32  * @version $Revision: 1.1 $
33  * @author Kyle Clark
34  */

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

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

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

64     public CreateSessionException(Throwable JavaDoc cause) {
65         super(cause);
66     }
67 }
68
69
70
71
72
Popular Tags