Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.rmi.RemoteException java.rmi.AccessException
public class AccessException extends RemoteException
An AccessException
is thrown by certain methods of the
java.rmi.Naming
class (specifically bind
,
rebind
, and unbind
) and methods of the
java.rmi.activation.ActivationSystem
interface 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.
Naming
,
ActivationSystem
,
Serialized FormModifier and Type | Field and Description |
---|
Fields inherited from class java.rmi.RemoteException |
---|
detail |
Constructor and Description |
---|
AccessException(String s)
Constructs an AccessException with the specified
detail message. |
AccessException(String s,
Exception ex)
Constructs an AccessException with the specified
detail message and nested exception. |
Modifier and Type | Method and Description |
---|
Methods inherited from class java.rmi.RemoteException |
---|
getCause, getMessage |
Methods inherited from class java.lang.Throwable |
---|
addSuppressedException, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AccessException(String s)
AccessException
with the specified
detail message.
s
- the detail messagepublic AccessException(String s, Exception ex)
AccessException
with the specified
detail message and nested exception.
s
- the detail messageex
- the nested exception
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.