APIdia Launch Partner
Top Description Fields Constructors Methods
java.rmi

public Class AccessException

extends RemoteException
Class Inheritance

An 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.
Authors
Ann Wollrath, Roger Riggs
Since
1.1
See Also
java.rmi.Naming

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from java.rmi.RemoteException:
detail

Constructor Summary

AccessConstructor and Description
public
AccessException(String
the detail message
s
)

Constructs an AccessException with the specified detail message.

public
AccessException(String
the detail message
s
,
Exception
the nested exception
ex
)

Constructs an AccessException with the specified detail message and nested exception.

Method Summary

Inherited from java.rmi.RemoteException:
getCausegetMessage

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.rmi.RemoteException.serialVersionUID.

Constructor Detail

AccessExceptionback to summary
public AccessException(String s)

Constructs an AccessException with the specified detail message.

Parameters
s:String

the detail message

Since
1.1
AccessExceptionback to summary
public AccessException(String s, Exception ex)

Constructs an AccessException with the specified detail message and nested exception.

Parameters
s:String

the detail message

ex:Exception

the nested exception

Since
1.1