javax.jdo
Class JDOOptimisticVerificationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOFatalException
                      extended by javax.jdo.JDOFatalDataStoreException
                          extended by javax.jdo.JDOOptimisticVerificationException
All Implemented Interfaces:
java.io.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
JDOOptimisticVerificationException()
          Constructs a new JDOOptimisticVerificationException without a detail message.
JDOOptimisticVerificationException(java.lang.String msg)
          Constructs a new JDOOptimisticVerificationException with the specified detail message.
JDOOptimisticVerificationException(java.lang.String msg, java.lang.Object failed)
          Constructs a new JDOOptimisticVerificationException with the specified detail message and failed object.
JDOOptimisticVerificationException(java.lang.String msg, java.lang.Throwable[] nested)
          Constructs a new JDOOptimisticVerificationException with the specified detail message and nested Throwable[]s.
JDOOptimisticVerificationException(java.lang.String msg, java.lang.Throwable[] nested, java.lang.Object failed)
          Constructs a new JDOOptimisticVerificationException with the specified detail message, nested Throwables, and failed object.
JDOOptimisticVerificationException(java.lang.String msg, java.lang.Throwable nested, java.lang.Object failed)
          Constructs a new JDOOptimisticVerificationException with the specified detail message, nested Throwables, 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
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDOOptimisticVerificationException

public JDOOptimisticVerificationException()
Constructs a new JDOOptimisticVerificationException without a detail message.


JDOOptimisticVerificationException

public JDOOptimisticVerificationException(java.lang.String msg)
Constructs a new JDOOptimisticVerificationException with the specified detail message.

Parameters:
msg - the detail message.

JDOOptimisticVerificationException

public JDOOptimisticVerificationException(java.lang.String msg,
                                          java.lang.Object failed)
Constructs a new JDOOptimisticVerificationException with the specified detail message and failed object.

Parameters:
msg - the detail message.
failed - the failed object.

JDOOptimisticVerificationException

public JDOOptimisticVerificationException(java.lang.String msg,
                                          java.lang.Throwable[] nested)
Constructs a new JDOOptimisticVerificationException with the specified detail message and nested Throwable[]s.

Parameters:
msg - the detail message.
nested - the nested Throwable[].

JDOOptimisticVerificationException

public JDOOptimisticVerificationException(java.lang.String msg,
                                          java.lang.Throwable[] nested,
                                          java.lang.Object failed)
Constructs a new JDOOptimisticVerificationException with the specified detail message, nested Throwables, and failed object.

Parameters:
msg - the detail message.
nested - the nested Throwable[].
failed - the failed object.

JDOOptimisticVerificationException

public JDOOptimisticVerificationException(java.lang.String msg,
                                          java.lang.Throwable nested,
                                          java.lang.Object failed)
Constructs a new JDOOptimisticVerificationException with the specified detail message, nested Throwables, and failed object.

Parameters:
msg - the detail message.
nested - the nested Throwable.
failed - the failed object.


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.