| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
javax.resource.spi.LocalTransactionException
public class LocalTransactionException
A LocalTransactionException represents various error conditions related to local transaction management. Common error conditions which are indicated by this exception include failure to commit, attempt to start a transaction while inside a transaction, or any resource adapter transaction related error condition.
| Constructor Summary | |
|---|---|
LocalTransactionException()
Create an exception.  | 
|
LocalTransactionException(String reason)
Create an exception with a reason.  | 
|
LocalTransactionException(String reason,
                          String errorCode)
Create an exception with a reason and an errorCode.  | 
|
LocalTransactionException(String reason,
                          Throwable cause)
Create an exception with a reason and cause.  | 
|
LocalTransactionException(Throwable cause)
Create an exception with a cause.  | 
|
| Method Summary | 
|---|
| Methods inherited from class javax.resource.ResourceException | 
|---|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException | 
| Methods inherited from class java.lang.Throwable | 
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public LocalTransactionException()
public LocalTransactionException(String reason)
public LocalTransactionException(String reason,
                                 String errorCode)
public LocalTransactionException(String reason,
                                 Throwable cause)
reason - the reasoncause - the causepublic LocalTransactionException(Throwable cause)
cause - the cause
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||