public class NoSuchObjectException extends NoSuchObjectException
detail| Constructor and Description |
|---|
NoSuchObjectException(String detailMessage) |
NoSuchObjectException(String detailMessage,
Throwable throwable)
Constructs a new instance of this class with its walkback, message and
cause filled in.
|
NoSuchObjectException(Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Answers the cause of this Throwable, or null if there is no cause.
|
String |
getLocalizedMessage()
Answers the extra information message which was provided when the
throwable was created.
|
NoSuchObjectException |
initCause(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(PrintStream err)
Outputs a printable representation of the receiver's walkback on the
stream specified by the argument.
|
void |
printStackTrace(PrintWriter err)
Outputs a printable representation of the receiver's walkback on the
writer specified by the argument.
|
String |
toString()
Answers a string containing a concise, human-readable description of the
receiver.
|
getMessageaddSuppressed, fillInStackTrace, getStackTrace, getSuppressed, setStackTracepublic NoSuchObjectException(String detailMessage)
public NoSuchObjectException(String detailMessage, Throwable throwable)
detailMessage - String The detail message for the exception.throwable - The cause of this Throwablepublic NoSuchObjectException(Throwable throwable)
public String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream err)
printStackTrace in class Throwableerr - PrintStream The stream to write the walkback on.public void printStackTrace(PrintWriter err)
printStackTrace in class Throwableerr - PrintWriter The writer to write the walkback on.public String toString()
public NoSuchObjectException initCause(Throwable throwable)
initCause in class Throwablethrowable - The cause of this ThrowableIllegalArgumentException - when the cause is the receiverIllegalStateException - when the cause has already been initializedpublic Throwable getCause()
getCause in class RemoteExceptionCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.