|
||||||||||
| 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
javax.transaction.TransactionRolledbackException
org.apache.openejb.core.transaction.TransactionRolledbackException
public class TransactionRolledbackException
Subclass of javax.transaction.TransactionRolledbackException which adds init cause to the exception.
| Field Summary |
|---|
| Fields inherited from class java.rmi.RemoteException |
|---|
detail |
| Constructor Summary | |
|---|---|
TransactionRolledbackException()
|
|
TransactionRolledbackException(String detailMessage)
|
|
TransactionRolledbackException(String detailMessage,
Throwable throwable)
Constructs a new instance of this class with its walkback, message and cause filled in. |
|
TransactionRolledbackException(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. |
TransactionRolledbackException |
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 TransactionRolledbackException()
public TransactionRolledbackException(String detailMessage)
public TransactionRolledbackException(String detailMessage,
Throwable throwable)
detailMessage - String The detail message for the exception.throwable - The cause of this Throwablepublic TransactionRolledbackException(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 TransactionRolledbackException 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 | |||||||||