Package javax.jdo
Class JDOObjectNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.jdo.JDOException
-
- javax.jdo.JDOCanRetryException
-
- javax.jdo.JDODataStoreException
-
- javax.jdo.JDOObjectNotFoundException
-
- All Implemented Interfaces:
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
Constructors Constructor Description JDOObjectNotFoundException()Constructs a newJDOObjectNotFoundExceptionwithout a detail message.JDOObjectNotFoundException(String msg)Constructs a newJDOObjectNotFoundExceptionwith the specified detail message.JDOObjectNotFoundException(String msg, Object failed)Constructs a newJDOObjectNotFoundExceptionwith the specified detail message and failed object.JDOObjectNotFoundException(String msg, Throwable nested)Constructs a newJDOObjectNotFoundExceptionwith the specified detail message and nestedThrowables.JDOObjectNotFoundException(String msg, Throwable[] nested)Constructs a newJDOObjectNotFoundExceptionwith the specified detail message and nestedThrowables.JDOObjectNotFoundException(String msg, Throwable[] nested, Object failed)Constructs a newJDOObjectNotFoundExceptionwith the specified detail message, nestedThrowables, and failed object.JDOObjectNotFoundException(String msg, Throwable nested, Object failed)Constructs a newJDOFatalInternalExceptionwith the specified detail message, nestedThrowables, 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
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace
-
-
-
-
Constructor Detail
-
JDOObjectNotFoundException
public JDOObjectNotFoundException()
Constructs a newJDOObjectNotFoundExceptionwithout a detail message.
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg)
Constructs a newJDOObjectNotFoundExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg, Object failed)
Constructs a newJDOObjectNotFoundExceptionwith 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 newJDOObjectNotFoundExceptionwith the specified detail message and nestedThrowables.- Parameters:
msg- the detail message.nested- the nestedThrowable.
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg, Throwable[] nested)
Constructs a newJDOObjectNotFoundExceptionwith the specified detail message and nestedThrowables.- Parameters:
msg- the detail message.nested- the nestedThrowable[].
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg, Throwable[] nested, Object failed)
Constructs a newJDOObjectNotFoundExceptionwith the specified detail message, nestedThrowables, and failed object.- Parameters:
msg- the detail message.nested- the nestedThrowable[].failed- the failed object.
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg, Throwable nested, Object failed)
Constructs a newJDOFatalInternalExceptionwith the specified detail message, nestedThrowables, and failed object.- Parameters:
msg- the detail message.nested- the nestedThrowable.failed- the failed object.
-
-