- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusDataStoreException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DatastoreValidationException
public class NucleusDataStoreException extends NucleusException
Exception thrown when a datastore occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NucleusDataStoreException()
Constructs a new exception without a detail message.NucleusDataStoreException(String msg)
Constructs a new exception with the specified detail message.NucleusDataStoreException(String msg, Object failed)
Constructs a new exception with the specified detail message and failed object.NucleusDataStoreException(String msg, Throwable nested)
Constructs a new exception with the specified detail message and nestedThrowable
.NucleusDataStoreException(String msg, Throwable[] nested)
Constructs a new exception with the specified detail message and nestedThrowable
s.NucleusDataStoreException(String msg, Throwable[] nested, Object failed)
Constructs a new exception with the specified detail message, nestedThrowable
s, and failed object.NucleusDataStoreException(String msg, Throwable nested, Object failed)
Constructs a new exception with the specified detail message, nestedThrowable
, and failed object.
-
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
-
NucleusDataStoreException
public NucleusDataStoreException()
Constructs a new exception without a detail message.
-
NucleusDataStoreException
public NucleusDataStoreException(String msg)
Constructs a new exception with the specified detail message.- Parameters:
msg
- the detail message.
-
NucleusDataStoreException
public NucleusDataStoreException(String msg, Throwable[] nested)
Constructs a new exception with the specified detail message and nestedThrowable
s.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.
-
NucleusDataStoreException
public NucleusDataStoreException(String msg, Throwable nested)
Constructs a new exception with the specified detail message and nestedThrowable
.- Parameters:
msg
- the detail message.nested
- the nestedThrowable
.
-
NucleusDataStoreException
public NucleusDataStoreException(String msg, Object failed)
Constructs a new exception with the specified detail message and failed object.- Parameters:
msg
- the detail message.failed
- the failed object.
-
NucleusDataStoreException
public NucleusDataStoreException(String msg, Throwable[] nested, Object failed)
Constructs a new exception with the specified detail message, nestedThrowable
s, and failed object.- Parameters:
msg
- the detail message.nested
- the nestedThrowable[]
.failed
- the failed object.
-
NucleusDataStoreException
public NucleusDataStoreException(String msg, Throwable nested, Object failed)
Constructs a new exception with the specified detail message, nestedThrowable
, and failed object.- Parameters:
msg
- the detail message.nested
- the nestedThrowable
.failed
- the failed object.
-
-