|
||||||||||
| 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(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)
|
|
| Method Summary | |
|---|---|
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. |
| 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(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)
| Method Detail |
|---|
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()
toString in class Throwablepublic NoSuchObjectException initCause(Throwable throwable)
initCause in class Throwablethrowable - The cause of this Throwable
IllegalArgumentException - when the cause is the receiver
IllegalStateException - when the cause has already been initializedpublic Throwable getCause()
getCause in class RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||