KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > rmi > server > ServerNotActiveException


1 /*
2  * @(#)ServerNotActiveException.java 1.13 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.rmi.server;
9
10 /**
11  * An <code>ServerNotActiveException</code> is an <code>Exception</code>
12  * thrown during a call to <code>RemoteServer.getClientHost</code> if
13  * the getClientHost method is called outside of servicing a remote
14  * method call.
15  *
16  * @version 1.13, 12/19/03
17  * @author Roger Riggs
18  * @since JDK1.1
19  * @see java.rmi.server.RemoteServer#getClientHost()
20  */

21 public class ServerNotActiveException extends java.lang.Exception JavaDoc {
22
23     /* indicate compatibility with JDK 1.1.x version of class */
24     private static final long serialVersionUID = 4687940720827538231L;
25
26     /**
27      * Constructs an <code>ServerNotActiveException</code> with no specified
28      * detail message.
29      * @since JDK1.1
30      */

31     public ServerNotActiveException() {}
32
33     /**
34      * Constructs an <code>ServerNotActiveException</code> with the specified
35      * detail message.
36      *
37      * @param s the detail message.
38      * @since JDK1.1
39      */

40     public ServerNotActiveException(String JavaDoc s)
41     {
42     super(s);
43     }
44 }
45
Popular Tags