|
||||||||||
| 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.lang.RuntimeException
com.sun.sgs.app.TransactionException
com.sun.sgs.app.TransactionAbortedException
public class TransactionAbortedException
Thrown when an operation fails because the system aborted the current transaction during the operation.
| Constructor Summary | |
|---|---|
TransactionAbortedException(String message)
Creates an instance of this class with the specified detail message. |
|
TransactionAbortedException(String message,
Throwable cause)
Creates an instance of this class with the specified detail message and cause. |
|
| Method Summary | |
|---|---|
boolean |
shouldRetry()
Provides information about whether an operation that threw this exception should be retried. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionAbortedException(String message)
message - the detail message or null
public TransactionAbortedException(String message,
Throwable cause)
message - the detail message or nullcause - the cause or null| Method Detail |
|---|
public boolean shouldRetry()
This implementation always returns true.
shouldRetry in interface ExceptionRetryStatustrue if the operation should be retried, else
false
|
Project Darkstar, Version 0.9.9.6 2009-05-08 15:39:40 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||