Class ClassDefinitionException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    PersistentSuperclassNotAllowedException

    public class ClassDefinitionException
    extends org.datanucleus.exceptions.NucleusUserException
    A ClassDefinitionException is thrown if the settings of a persistent class are inconsistent with it's metadata.
    See Also:
    Serialized Form
    • Field Summary

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

      Constructors 
      Constructor Description
      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, 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

      • 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