Class NoDatastoreMappingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.store.rdbms.exceptions.NoDatastoreMappingException
-
- All Implemented Interfaces:
Serializable
public class NoDatastoreMappingException extends org.datanucleus.exceptions.NucleusUserException
A NoDatastoreMappingException is thrown if an operation is performed that assumes that a particular persistent field is stored in a single datastore field when it is not (such as if the field is a Collection or a Map).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoDatastoreMappingException(String fieldName)
Constructs a no datastore mapping exception.
-
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
-
NoDatastoreMappingException
public NoDatastoreMappingException(String fieldName)
Constructs a no datastore mapping exception.- Parameters:
fieldName
- The name of the field.
-
-