org.datanucleus.store.exceptions
Class ClassDefinitionException

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

public class ClassDefinitionException
extends NucleusUserException

A ClassDefinitionException is thrown if the settings of a persistent class are inconsistent with it's metadata.

See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
ClassDefinitionException()
          Constructs a class definition exception with no specific detail message.
ClassDefinitionException(java.lang.String msg)
          Constructs a class 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
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

ClassDefinitionException

public ClassDefinitionException()
Constructs a class definition exception with no specific detail message.


ClassDefinitionException

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

Parameters:
msg - the detail message


Copyright © 2011. All Rights Reserved.