1 |
/* |
/* RMISecurityException.java -- deprecated version of SecurityException |
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 |
|
|
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 |
37 |
|
|
38 |
package java.rmi; |
package java.rmi; |
39 |
|
|
40 |
import java.lang.SecurityException; |
/** |
41 |
|
* Never thrown, but originally intended to wrap a java.lang.SecurityException. |
42 |
public class RMISecurityException |
* |
43 |
extends SecurityException { |
* @author unknown |
44 |
|
* @since 1.1 |
45 |
public RMISecurityException(String n) { |
* @deprecated use {@link SecurityException} instead |
46 |
super(n); |
* @status updated to 1.4 |
47 |
} |
*/ |
48 |
|
public class RMISecurityException extends SecurityException |
49 |
public RMISecurityException(String n, String a) { |
{ |
50 |
super(n); |
/** |
51 |
} |
* Compatible with JDK 1.1. |
52 |
|
*/ |
53 |
|
private static final long serialVersionUID = -8433406075740433514L; |
54 |
|
|
55 |
|
/** |
56 |
|
* Create an exception with a message. |
57 |
|
* |
58 |
|
* @param s the message |
59 |
|
* @deprecated no longer needed |
60 |
|
*/ |
61 |
|
public RMISecurityException(String n) |
62 |
|
{ |
63 |
|
super(n); |
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 |
|
* @deprecated no longer needed |
72 |
|
*/ |
73 |
|
public RMISecurityException(String n, String a) |
74 |
|
{ |
75 |
|
super(n); |
76 |
|
} |
77 |
} |
} |