KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)ExportException.java 1.12 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>ExportException</code> is a <code>RemoteException</code>
12  * thrown if an attempt to export a remote object fails. A remote object is
13  * exported via the constructors and <code>exportObject</code> methods of
14  * <code>java.rmi.server.UnicastRemoteObject</code> and
15  * <code>java.rmi.activation.Activatable</code>.
16  *
17  * @version 1.12, 12/19/03
18  * @author Ann Wollrath
19  * @since JDK1.1
20  * @see java.rmi.server.UnicastRemoteObject
21  * @see java.rmi.activation.Activatable
22  */

23 public class ExportException extends java.rmi.RemoteException JavaDoc {
24
25     /* indicate compatibility with JDK 1.1.x version of class */
26     private static final long serialVersionUID = -9155485338494060170L;
27
28     /**
29      * Constructs an <code>ExportException</code> with the specified
30      * detail message.
31      *
32      * @param s the detail message
33      * @since JDK1.1
34      */

35     public ExportException(String JavaDoc s) {
36     super(s);
37     }
38
39     /**
40      * Constructs an <code>ExportException</code> with the specified
41      * detail message and nested exception.
42      *
43      * @param s the detail message
44      * @param ex the nested exception
45      * @since JDK1.1
46      */

47     public ExportException(String JavaDoc s, Exception JavaDoc ex) {
48     super(s, ex);
49     }
50
51 }
52
Popular Tags