Class JDOObjectNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.jdo.api.persistence.support.JDOException
com.sun.jdo.api.persistence.support.JDOCanRetryException
com.sun.jdo.api.persistence.support.JDODataStoreException
com.sun.jdo.api.persistence.support.JDOObjectNotFoundException
- All Implemented Interfaces:
Serializable
JDOObjectNotFoundException is thrown instead of a more generic JDODataStoreException
in case an internal or an external query returned 0 rows.
- Version:
- 0.1
- Author:
- Marina Vatkina
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newJDOObjectNotFoundExceptionwithout detail message.Constructs a newJDOObjectNotFoundExceptionwith the specified detail message.JDOObjectNotFoundException(String msg, Exception nested) Constructs a newJDOObjectNotFoundExceptionwith the specified detail message and nested Exception.JDOObjectNotFoundException(String msg, Exception nested, Object[] failed) Constructs a newJDOObjectNotFoundExceptionwith the specified detail message, nested exception, and failed object array.JDOObjectNotFoundException(String msg, Object[] failed) Constructs a newJDOObjectNotFoundExceptionwith the specified detail message and failed object array. -
Method Summary
Methods inherited from class com.sun.jdo.api.persistence.support.JDOException
addFailedObject, getFailedObjectArray, getNestedException, printStackTrace, printStackTrace, printStackTrace, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
JDOObjectNotFoundException
public JDOObjectNotFoundException()Creates a newJDOObjectNotFoundExceptionwithout detail message. -
JDOObjectNotFoundException
Constructs a newJDOObjectNotFoundExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
JDOObjectNotFoundException
Constructs a newJDOObjectNotFoundExceptionwith the specified detail message and nested Exception.- Parameters:
msg- the detail message.nested- the nestedException.
-
JDOObjectNotFoundException
Constructs a newJDOObjectNotFoundExceptionwith the specified detail message and failed object array.- Parameters:
msg- the detail message.failed- the failed object array.
-
JDOObjectNotFoundException
Constructs a newJDOObjectNotFoundExceptionwith the specified detail message, nested exception, and failed object array.- Parameters:
msg- the detail message.nested- the nestedException.failed- the failed object array.
-