Class ClassDefinitionException

  • All Implemented Interfaces:
    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
    • Constructor Detail

      • ClassDefinitionException

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

        public ClassDefinitionException​(String msg)
        Constructs a class definition exception with the specified detail message.
        Parameters:
        msg - the detail message