Package com.exedio.cope
Class TemporaryTransactionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.exedio.cope.TemporaryTransactionException
-
- All Implemented Interfaces:
Serializable
public final class TemporaryTransactionException extends RuntimeException
Signals, that a persistent operation has failed for a possibly temporary reason. Such reasons include concurrent modification of a data unit by multiple transactions. You may want to recover from this exception by rolling back the current transaction and trying to do it again. It is not guaranteed, that the problem will go away, so never retry indefinitely.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-