Class NucleusOptimisticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusOptimisticException
- All Implemented Interfaces:
Serializable
Exception thrown when a transaction fails due to optimistic verification checks.
- See Also:
-
Field Summary
FieldsFields inherited from class NucleusException
failed, fatal, nested -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception without a detail message.Constructs a new exception with the specified detail message.NucleusOptimisticException(String msg, Object failed) Constructs a new exception with the specified detail message and failed object.NucleusOptimisticException(String msg, Throwable[] nested) Constructs a new exception with the specified detail message and nestedThrowables. -
Method Summary
Methods inherited from class NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NucleusOptimisticException
public NucleusOptimisticException()Constructs a new exception without a detail message. -
NucleusOptimisticException
Constructs a new exception with the specified detail message.- Parameters:
msg- the detail message.
-
NucleusOptimisticException
-
NucleusOptimisticException
-