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

Diff of /classpath/java/rmi/AccessException.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  /*  /* AccessException.java -- thrown if the caller does not have access
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 AccessException  /**
41          extends RemoteException {   * Thrown to indicate that the caller does not have permission to access
42     * certain data, such as <code>bind</code> in an ActivationSystem.
43  public static final long serialVersionUID = 6314925228044966088l;   *
44     * @author unknown
45  public AccessException(String s) {   * @see Naming
46          super(s);   * @see ActivationSystem
47  }   * @since 1.1
48     */
49  public AccessException(String s, Exception e) {  public class AccessException extends RemoteException
50          super (s, e);  {
51  }    /**
52       * Compatible with JDK 1.1+.
53       */
54      private static final long serialVersionUID = 6314925228044966088l;
55    
56      /**
57       * Create an exception with a message.
58       *
59       * @param s the message
60       */
61      public AccessException(String s)
62      {
63        super(s);
64      }
65    
66      /**
67       * Create an exception with a message and a cause.
68       *
69       * @param s the message
70       * @param e the cause
71       */
72      public AccessException(String s, Exception e)
73      {
74        super(s, e);
75      }
76  }  }

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