|
||||||||||
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.TransactionNotActiveException
public class TransactionNotActiveException
Thrown when an operation fails because there is no current, active transaction.
Constructor Summary | |
---|---|
TransactionNotActiveException(String message)
Creates an instance of this class with the specified detail message. |
|
TransactionNotActiveException(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 TransactionNotActiveException(String message)
message
- the detail message or null
public TransactionNotActiveException(String message, Throwable cause)
cause
implements ExceptionRetryStatus
then its
shouldRetry
method will be called when deciding if this
exception should be retried.
message
- the detail message or null
cause
- the cause or null
Method Detail |
---|
public boolean shouldRetry()
If a cause
was provided for this exception and it implements
ExceptionRetryStatus
, then it will be called to determine if
the exception should request to be retried. Otherwise, this will
return false
.
shouldRetry
in interface ExceptionRetryStatus
true
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 |