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:
java.io.Serializable
public class NucleusObjectNotFoundException extends NucleusException
Exception thrown when an object doesn't exist in the datastore.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
-
Constructor Summary
Constructors Constructor Description NucleusObjectNotFoundException()
Constructs a new exception without a detail message.NucleusObjectNotFoundException(java.lang.String msg)
Constructs a new exception with the specified detail message.NucleusObjectNotFoundException(java.lang.String msg, java.lang.Object failed)
Constructs a new exception with the specified detail message and failed object.NucleusObjectNotFoundException(java.lang.String msg, java.lang.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NucleusObjectNotFoundException
public NucleusObjectNotFoundException()
Constructs a new exception without a detail message.
-
NucleusObjectNotFoundException
public NucleusObjectNotFoundException(java.lang.String msg)
Constructs a new exception with the specified detail message.- Parameters:
msg
- the detail message.
-
NucleusObjectNotFoundException
public NucleusObjectNotFoundException(java.lang.String msg, java.lang.Throwable[] nested)
Constructs a new exception with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.
-
NucleusObjectNotFoundException
public NucleusObjectNotFoundException(java.lang.String msg, java.lang.Object failed)
Constructs a new exception with the specified detail message and failed object.- Parameters:
msg
- the detail message.failed
- the failed object.
-
-