Package javax.jdo
Class JDOOptimisticVerificationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.jdo.JDOException
-
- javax.jdo.JDOFatalException
-
- javax.jdo.JDOFatalDataStoreException
-
- javax.jdo.JDOOptimisticVerificationException
-
- All Implemented Interfaces:
Serializable
public class JDOOptimisticVerificationException extends JDOFatalDataStoreException
This class represents optimistic verification failures. The nested exception array contains an exception for each instance that failed the optimistic verification.- Since:
- 1.0.1
- Version:
- 1.0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JDOOptimisticVerificationException()
Constructs a newJDOOptimisticVerificationException
without a detail message.JDOOptimisticVerificationException(String msg)
Constructs a newJDOOptimisticVerificationException
with the specified detail message.JDOOptimisticVerificationException(String msg, Object failed)
Constructs a newJDOOptimisticVerificationException
with the specified detail message and failed object.JDOOptimisticVerificationException(String msg, Throwable[] nested)
Constructs a newJDOOptimisticVerificationException
with the specified detail message and nestedThrowable[]
s.JDOOptimisticVerificationException(String msg, Throwable[] nested, Object failed)
Constructs a newJDOOptimisticVerificationException
with the specified detail message, nestedThrowable
s, and failed object.JDOOptimisticVerificationException(String msg, Throwable nested, Object failed)
Constructs a newJDOOptimisticVerificationException
with the specified detail message, nestedThrowable
s, and failed object.
-
Method Summary
-
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace
-
-
-
-
Constructor Detail
-
JDOOptimisticVerificationException
public JDOOptimisticVerificationException()
Constructs a newJDOOptimisticVerificationException
without a detail message.
-
JDOOptimisticVerificationException
public JDOOptimisticVerificationException(String msg)
Constructs a newJDOOptimisticVerificationException
with the specified detail message.- Parameters:
msg
- the detail message.
-
JDOOptimisticVerificationException
public JDOOptimisticVerificationException(String msg, Object failed)
Constructs a newJDOOptimisticVerificationException
with the specified detail message and failed object.- Parameters:
msg
- the detail message.failed
- the failed object.
-
JDOOptimisticVerificationException
public JDOOptimisticVerificationException(String msg, Throwable[] nested)
Constructs a newJDOOptimisticVerificationException
with the specified detail message and nestedThrowable[]
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.
-
JDOOptimisticVerificationException
public JDOOptimisticVerificationException(String msg, Throwable[] nested, Object failed)
Constructs a newJDOOptimisticVerificationException
with the specified detail message, nestedThrowable
s, and failed object.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.failed
- the failed object.
-
JDOOptimisticVerificationException
public JDOOptimisticVerificationException(String msg, Throwable nested, Object failed)
Constructs a newJDOOptimisticVerificationException
with the specified detail message, nestedThrowable
s, and failed object.- Parameters:
msg
- the detail message.nested
- the nestedThrowable
.failed
- the failed object.
-
-