AccessException is thrown by certain methods of the
java.rmi.Naming class (specifically bind,
rebind, and unbind) to
indicate that the caller does not have permission to perform the action
requested by the method call. If the method was invoked from a non-local
host, then an AccessException is thrown.
java.rmi.Naming
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AccessException(String
the detail message s)Constructs an |
| public | AccessException(String
the detail message s, Exception the nested exception ex)Constructs an |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AccessException | back to summary |
|---|---|
| public AccessException(String s) Constructs an
| |
| AccessException | back to summary |
|---|---|
| public AccessException(String s, Exception ex) Constructs an | |