|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
java.rmi.NoSuchObjectException
org.apache.openejb.core.NoSuchObjectException
public class NoSuchObjectException
Subclass of java.rmi.NoSuchObjectException which adds init cause to the exception.
Field Summary |
---|
Fields inherited from class java.rmi.RemoteException |
---|
detail |
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.rmi.RemoteException |
---|
getMessage |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
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 Throwable
java.lang.IllegalArgumentException
- when the cause is the receiver
java.lang.IllegalStateException
- when the cause has already been initializedpublic java.lang.Throwable getCause()
getCause
in class java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |