Class NoDatastoreMappingException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by
All Implemented Interfaces:

public class NoDatastoreMappingException
extends 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
protected static Localiser LOCALISER
Constructor Summary
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
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


protected static final Localiser LOCALISER
Constructor Detail


public NoDatastoreMappingException(java.lang.String fieldName)
Constructs a no datastore mapping exception.

fieldName - The name of the field.

Copyright © 2009. All Rights Reserved.