org.datanucleus.exceptions
Class NucleusObjectNotFoundException

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.NucleusObjectNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class NucleusObjectNotFoundException
extends NucleusException

Exception thrown by JPOX when an object doesnt exist in the datastore.

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

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

NucleusObjectNotFoundException

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


NucleusObjectNotFoundException

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

Parameters:
msg - the detail message.

NucleusObjectNotFoundException

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

NucleusObjectNotFoundException

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