javax.jdo
Class JDOObjectNotFoundException

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.JDOCanRetryException
                      extended by javax.jdo.JDODataStoreException
                          extended by javax.jdo.JDOObjectNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class JDOObjectNotFoundException
extends JDODataStoreException

This class represents exceptions caused by the user accessing an object that does not exist in the datastore.

Since:
1.0.1
Version:
1.0.1
See Also:
Serialized Form

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

JDOObjectNotFoundException

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


JDOObjectNotFoundException

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

Parameters:
msg - the detail message.

JDOObjectNotFoundException

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

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

JDOObjectNotFoundException

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

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

JDOObjectNotFoundException

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

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

JDOObjectNotFoundException

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

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

JDOObjectNotFoundException

public JDOObjectNotFoundException(java.lang.String msg,
                                  java.lang.Throwable nested,
                                  java.lang.Object failed)
Constructs a new JDOFatalInternalException 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.