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.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream err)
printStackTrace
in class java.lang.Throwable
err
- PrintStream The stream to write the walkback on.public void printStackTrace(java.io.PrintWriter err)
printStackTrace
in class java.lang.Throwable
err
- PrintWriter The writer to write the walkback on.public java.lang.String toString()
toString
in class java.lang.Throwable
public NoSuchObjectException initCause(java.lang.Throwable throwable)
initCause
in class java.lang.Throwable
throwable
- 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