org.datanucleus.exceptions
Class NucleusDataStoreException

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.NucleusDataStoreException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DatastoreValidationException, NullValueException, TooManyForeignKeysException, TooManyIndicesException, UnsupportedDataTypeException

public class NucleusDataStoreException
extends NucleusException

Exception thrown by JPOX when a datastore occurs.

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

Constructor Summary
NucleusDataStoreException()
          Constructs a new exception without a detail message.
NucleusDataStoreException(java.lang.String msg)
          Constructs a new exception with the specified detail message.
NucleusDataStoreException(java.lang.String msg, java.lang.Object failed)
          Constructs a new exception with the specified detail message and failed object.
NucleusDataStoreException(java.lang.String msg, java.lang.Throwable nested)
          Constructs a new exception with the specified detail message and nested Throwable.
NucleusDataStoreException(java.lang.String msg, java.lang.Throwable[] nested)
          Constructs a new exception with the specified detail message and nested Throwables.
NucleusDataStoreException(java.lang.String msg, java.lang.Throwable[] nested, java.lang.Object failed)
          Constructs a new exception with the specified detail message, nested Throwables, and failed object.
NucleusDataStoreException(java.lang.String msg, java.lang.Throwable nested, java.lang.Object failed)
          Constructs a new exception with the specified detail message, nested Throwable, and failed object.
 
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

NucleusDataStoreException

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


NucleusDataStoreException

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

Parameters:
msg - the detail message.

NucleusDataStoreException

public NucleusDataStoreException(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[].

NucleusDataStoreException

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

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

NucleusDataStoreException

public NucleusDataStoreException(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.

NucleusDataStoreException

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

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

NucleusDataStoreException

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

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


Copyright © 2010. All Rights Reserved.