org.datanucleus.store.exceptions
Class NoDatastoreMappingException

java.lang.Object
  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 org.datanucleus.store.exceptions.NoDatastoreMappingException
All Implemented Interfaces:
java.io.Serializable

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

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

NoDatastoreMappingException

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

Parameters:
fieldName - The name of the field.


Copyright © 2010. All Rights Reserved.