org.datanucleus.store.mapped.exceptions
Class DatastoreFieldDefinitionException

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.mapped.exceptions.DatastoreFieldDefinitionException
All Implemented Interfaces:
java.io.Serializable

public class DatastoreFieldDefinitionException
extends NucleusUserException

A ColumnDefinitionException is thrown if the settings of a database column are incompatible with the data type of the object field to which it is mapped.

See Also:
DatastoreField, Serialized Form

Constructor Summary
DatastoreFieldDefinitionException()
          Constructs a column definition exception with no specific detail message.
DatastoreFieldDefinitionException(java.lang.String msg)
          Constructs a column definition exception with the specified detail message.
 
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
 

Constructor Detail

DatastoreFieldDefinitionException

public DatastoreFieldDefinitionException()
Constructs a column definition exception with no specific detail message.


DatastoreFieldDefinitionException

public DatastoreFieldDefinitionException(java.lang.String msg)
Constructs a column definition exception with the specified detail message.

Parameters:
msg - the detail message


Copyright © 2011. All Rights Reserved.