Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

java.rmi
Class AccessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.rmi.RemoteException
                  extended byjava.rmi.AccessException
All Implemented Interfaces:
Serializable

public class AccessException
extends RemoteException

An AccessException is thrown 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.

Since:
JDK1.1
See Also:
, , Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
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.
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, 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

AccessException

public AccessException(String s)
Constructs an AccessException with the specified detail message.

Parameters:
s - the detail message
Since:
JDK1.1

AccessException

public AccessException(String s,
                       Exception ex)
Constructs an AccessException with the specified detail message and nested exception.

Parameters:
s - the detail message
ex - the nested exception
Since:
JDK1.1

JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.