API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.rmi. UnexpectedException View Source
Author(s)
Roger Riggs
Since
JDK1.1
Version
1.13, 11/17/05
Serial
Hierarchy
 Object
      Throwable
          Exception
              IOException
                  RemoteException
                      UnexpectedException
Implements
Subclasses
Description
public exception UnexpectedException
  An UnexpectedException is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in the throws clause of the method in the remote interface.
See also:   
Constructors
public UnexpectedException (String s)
  Constructs an UnexpectedException with the specified detail message.
public UnexpectedException (String s, Exception ex)
  Constructs a UnexpectedException 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