/[classpath]/classpath/java/rmi/server/ExportException.java
ViewVC logotype

Diff of /classpath/java/rmi/server/ExportException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mark, Tue Jan 22 22:27:00 2002 UTC revision 1.3 by ericb, Sun Feb 24 04:25:17 2002 UTC
# Line 1  Line 1 
1  /*  /* ExportException.java -- an export attempt failed
2    Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.     Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 7  GNU Classpath is free software; you can Line 7  GNU Classpath is free software; you can
7  it under the terms of the GNU General Public License as published by  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2, or (at your option)  the Free Software Foundation; either version 2, or (at your option)
9  any later version.  any later version.
10    
11  GNU Classpath is distributed in the hope that it will be useful, but  GNU Classpath is distributed in the hope that it will be useful, but
12  WITHOUT ANY WARRANTY; without even the implied warranty of  WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Line 39  package java.rmi.server; Line 39  package java.rmi.server;
39    
40  import java.rmi.RemoteException;  import java.rmi.RemoteException;
41    
42  public class ExportException  /**
43          extends RemoteException {   * Thrown if an attempt to export a remote object fails.
44     *
45  public ExportException(String s) {   * @author unknown
46          super(s);   * @see UnicastRemoteObject
47  }   * @see Activatable
48     * @since 1.1
49  public ExportException(String s, Exception e) {   * @status updated to 1.4
50          super(s, e);   */
51  }  public class ExportException extends RemoteException
52    {
53      /**
54       * Compatible with JDK 1.1+.
55       */
56      private static final long serialVersionUID = -9155485338494060170L;
57    
58      /**
59       * Create an exception with the specified message.
60       *
61       * @param s the message
62       */
63      public ExportException(String s)
64      {
65        super(s);
66      }
67    
68      /**
69       * Create an exception with the specified message and cause.
70       *
71       * @param s the message
72       * @param e the cause
73       */
74      public ExportException(String s, Exception e)
75      {
76        super(s, e);
77      }
78  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26