javax.jdo

Class JDOObjectNotFoundException


public class JDOObjectNotFoundException
extends JDODataStoreException

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

Constructor Summary

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

Method Summary

Methods inherited from class javax.jdo.JDOException

getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString

Constructor Details

JDOObjectNotFoundException

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

JDOObjectNotFoundException

public JDOObjectNotFoundException(String msg)
Constructs a new JDOObjectNotFoundException with the specified detail message.
Parameters:
msg - the detail message.

JDOObjectNotFoundException

public JDOObjectNotFoundException(String msg,
                                  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(String msg,
                                  Throwable[] nested)
Constructs a new JDOObjectNotFoundException with the specified detail message and nested Throwables.
Parameters:
msg - the detail message.
nested - the nested Throwable[].