Class RMISecurityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.SecurityException
-
- java.rmi.RMISecurityException
- All Implemented Interfaces:
- Serializable
Deprecated.
Use SecurityException
instead. Application code should never directly reference this class, and RMISecurityManager
no longer throws this subclass of java.lang.SecurityException
.
@Deprecated public class RMISecurityException extends SecurityException
An RMISecurityException
signals that a security exception has occurred during the execution of one of java.rmi.RMISecurityManager
's methods.
- Since:
- JDK1.1
- See Also:
- Serialized Form
Constructors
Constructor and Description |
---|
RMISecurityException(String name) Deprecated. no replacement |
RMISecurityException(String name,
String arg) Deprecated. no replacement |
Methods
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructors
RMISecurityException
@Deprecated public RMISecurityException(String name)
Deprecated. no replacement
Construct an RMISecurityException
with a detail message.
- Parameters:
-
name
- the detail message - Since:
- JDK1.1
RMISecurityException
@Deprecated public RMISecurityException(String name, String arg)
Deprecated. no replacement
Construct an RMISecurityException
with a detail message.
- Parameters:
-
name
- the detail message -
arg
- ignored - Since:
- JDK1.1
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/java/rmi/RMISecurityException.html