public class AccessException extends RemoteException
AccessException
通过一定的方法抛出java.rmi.Naming
类(具体bind
, rebind
和unbind
)和方法java.rmi.activation.ActivationSystem
接口,以指示主叫方不必执行由方法调用所请求的操作。
如果从非本地主机调用该方法,则抛出一个AccessException
。
Naming
, ActivationSystem
, Serialized Form
detail
Constructor and Description |
---|
AccessException(String s)
构造具有
AccessException 详细消息的AccessException。
|
AccessException(String s, 异常 ex)
构造具有
AccessException 的详细消息和嵌套异常的AccessException。
|
getCause, getMessage
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.