API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.rmi. AccessException View Source
Author(s)
Ann Wollrath
Roger Riggs
Since
JDK1.1
Version
1.13, 11/17/05
Serial
Hierarchy
 Object
      Throwable
          Exception
              IOException
                  RemoteException
                      AccessException
Implements
Subclasses
Description
public exception AccessException
  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.
See also:    Naming ActivationSystem
Constructors
public AccessException (String s)
  Constructs an AccessException with the specified detail message.
public AccessException (String s, Exception ex)
  Constructs an AccessException with the specified detail message and nested exception.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From RemoteException]
  Returns the cause of this exception.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From RemoteException]
  Returns the detail message, including the message from the cause, if any, of this exception.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From Throwable]
  Returns a short description of this throwable.
Fields
Hide/Show inherited fields
public Throwable detail [Inherited From RemoteException]
  The cause of the remote exception.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar