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
public class JDOObjectNotFoundException extends JDODataStoreException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JDOObjectNotFoundException()
Creates a newJDOObjectNotFoundException
without detail message.JDOObjectNotFoundException(String msg)
Constructs a newJDOObjectNotFoundException
with the specified detail message.JDOObjectNotFoundException(String msg, Exception nested)
Constructs a newJDOObjectNotFoundException
with the specified detail message and nested Exception.JDOObjectNotFoundException(String msg, Exception nested, Object[] failed)
Constructs a newJDOObjectNotFoundException
with the specified detail message, nested exception, and failed object array.JDOObjectNotFoundException(String msg, Object[] failed)
Constructs a newJDOObjectNotFoundException
with 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, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
Constructor Detail
-
JDOObjectNotFoundException
public JDOObjectNotFoundException()
Creates a newJDOObjectNotFoundException
without detail message.
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg)
Constructs a newJDOObjectNotFoundException
with the specified detail message.- Parameters:
msg
- the detail message.
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg, Exception nested)
Constructs a newJDOObjectNotFoundException
with the specified detail message and nested Exception.- Parameters:
msg
- the detail message.nested
- the nestedException
.
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg, Object[] failed)
Constructs a newJDOObjectNotFoundException
with the specified detail message and failed object array.- Parameters:
msg
- the detail message.failed
- the failed object array.
-
JDOObjectNotFoundException
public JDOObjectNotFoundException(String msg, Exception nested, Object[] failed)
Constructs a newJDOObjectNotFoundException
with the specified detail message, nested exception, and failed object array.- Parameters:
msg
- the detail message.nested
- the nestedException
.failed
- the failed object array.
-
-