/[classpath]/classpath/java/rmi/ServerException.java
ViewVC logotype

Diff of /classpath/java/rmi/ServerException.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:16 2002 UTC
# Line 1  Line 1 
1  /*  /* ServerException.java -- wraps an exception while creating the server
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 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package java.rmi;  package java.rmi;
39    
40  public class ServerException  /**
41          extends RemoteException {   * Wraps any exception thrown while processing the server of a remote call.
42     *
43  public static final long serialVersionUID = -4775845313121906682l;   * @author unknown
44     * @since 1.1
45  public ServerException(String s) {   * @status updated to 1.4
46          super(s);   */
47  }  public class ServerException extends RemoteException
48    {
49  public ServerException(String s, Exception e) {    /**
50          super(s, e);     * Compatible with JDK 1.1+.
51  }     */
52      private static final long serialVersionUID = -4775845313121906682l;
53    
54      /**
55       * Create an exception with a message.
56       *
57       * @param s the message
58       */
59      public ServerException(String s)
60      {
61        super(s);
62      }
63    
64      /**
65       * Create an exception with a message and a cause.
66       *
67       * @param s the message
68       * @param e the cause
69       */
70      public ServerException(String s, Exception e)
71      {
72        super(s, e);
73      }
74  }  }

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