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
public class NucleusObjectNotFoundException extends NucleusException
Exception thrown when an object doesn't exist in the datastore.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NucleusObjectNotFoundException()
Constructs a new exception without a detail message.NucleusObjectNotFoundException(String msg)
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
-
-
-
-
Constructor Detail
-
NucleusObjectNotFoundException
public NucleusObjectNotFoundException()
Constructs a new exception without a detail message.
-
NucleusObjectNotFoundException
public NucleusObjectNotFoundException(String msg)
Constructs a new exception with the specified detail message.- Parameters:
msg
- the detail message.
-
NucleusObjectNotFoundException
public NucleusObjectNotFoundException(String msg, Throwable[] nested)
Constructs a new exception with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.
-
-