org.datanucleus.exceptions
Class NucleusOptimisticException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusOptimisticException
All Implemented Interfaces:
java.io.Serializable

public class NucleusOptimisticException
extends NucleusException

Exception thrown by JPOX when a transaction fails due to optimistic verification checks.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Constructor Summary
NucleusOptimisticException()
          Constructs a new exception without a detail message.
NucleusOptimisticException(java.lang.String msg)
          Constructs a new exception with the specified detail message.
NucleusOptimisticException(java.lang.String msg, java.lang.Object failed)
          Constructs a new exception with the specified detail message and failed object.
NucleusOptimisticException(java.lang.String msg, java.lang.Throwable[] nested)
          Constructs a new exception with the specified detail message and nested Throwables.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NucleusOptimisticException

public NucleusOptimisticException()
Constructs a new exception without a detail message.


NucleusOptimisticException

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

Parameters:
msg - the detail message.

NucleusOptimisticException

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

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

NucleusOptimisticException

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

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


Copyright © 2009. All Rights Reserved.