- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.rmi.RemoteException
-
- java.rmi.AccessException
-
- All Implemented Interfaces:
-
Serializable
public class AccessException extends RemoteException
一个AccessException
通过一定的方法抛出java.rmi.Naming
类(具体bind
,rebind
,和unbind
)和方法java.rmi.activation.ActivationSystem
接口,以指示主叫方不必执行由方法调用所请求的操作。 如果从非本地主机调用该方法,则抛出一个AccessException
。- 从以下版本开始:
- 1.1
- 另请参见:
-
Naming
,ActivationSystem
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.RemoteException
detail
-
-
构造方法摘要
构造方法 Constructor 描述 AccessException(String s)
构造具有指定详细消息的AccessException
。AccessException(String s, 异常 ex)
构造具有指定的详细消息和嵌套异常的AccessException
。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-