Package org.datanucleus.exceptions
Class NucleusObjectNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusObjectNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when an object doesn't exist in the datastore.
- See Also:
-
Field Summary
FieldsFields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception without a detail message.Constructs a new exception with the specified detail message.NucleusObjectNotFoundException
(String msg, Object failed) Constructs a new exception with the specified detail message and failed object.NucleusObjectNotFoundException
(String msg, Throwable[] nested) Constructs a new exception with the specified detail message and nestedThrowable
s. -
Method Summary
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NucleusObjectNotFoundException
public NucleusObjectNotFoundException()Constructs a new exception without a detail message. -
NucleusObjectNotFoundException
Constructs a new exception with the specified detail message.- Parameters:
msg
- the detail message.
-
NucleusObjectNotFoundException
Constructs a new exception with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.
-
NucleusObjectNotFoundException
Constructs a new exception with the specified detail message and failed object.- Parameters:
msg
- the detail message.failed
- the failed object.
-