public class NoSuchObjectException
extends java.rmi.NoSuchObjectException
| Constructor and Description |
|---|
NoSuchObjectException(java.lang.String detailMessage) |
NoSuchObjectException(java.lang.String detailMessage,
java.lang.Throwable throwable)
Constructs a new instance of this class with its walkback, message and
cause filled in.
|
NoSuchObjectException(java.lang.Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Answers the cause of this Throwable, or null if there is no cause.
|
java.lang.String |
getLocalizedMessage()
Answers the extra information message which was provided when the
throwable was created.
|
NoSuchObjectException |
initCause(java.lang.Throwable throwable)
Initialize the cause of the receiver.
|
void |
printStackTrace()
Outputs a printable representation of the receiver's walkback on the
System.err stream.
|
void |
printStackTrace(java.io.PrintStream err)
Outputs a printable representation of the receiver's walkback on the
stream specified by the argument.
|
void |
printStackTrace(java.io.PrintWriter err)
Outputs a printable representation of the receiver's walkback on the
writer specified by the argument.
|
java.lang.String |
toString()
Answers a string containing a concise, human-readable description of the
receiver.
|
public NoSuchObjectException(java.lang.String detailMessage)
public NoSuchObjectException(java.lang.String detailMessage,
java.lang.Throwable throwable)
detailMessage - String The detail message for the exception.throwable - The cause of this Throwablepublic NoSuchObjectException(java.lang.Throwable throwable)
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream err)
printStackTrace in class java.lang.Throwableerr - PrintStream The stream to write the walkback on.public void printStackTrace(java.io.PrintWriter err)
printStackTrace in class java.lang.Throwableerr - PrintWriter The writer to write the walkback on.public java.lang.String toString()
toString in class java.lang.Throwablepublic NoSuchObjectException initCause(java.lang.Throwable throwable)
initCause in class java.lang.Throwablethrowable - The cause of this Throwablejava.lang.IllegalArgumentException - when the cause is the receiverjava.lang.IllegalStateException - when the cause has already been initializedpublic java.lang.Throwable getCause()
getCause in class java.rmi.RemoteException