Class NoDatastoreMappingException

  • All Implemented Interfaces:
    java.io.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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      NoDatastoreMappingException​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoDatastoreMappingException

        public NoDatastoreMappingException​(java.lang.String fieldName)
        Constructs a no datastore mapping exception.
        Parameters:
        fieldName - The name of the field.