Class ViewDefinitionException

  • All Implemented Interfaces:
    Serializable

    public class ViewDefinitionException
    extends org.datanucleus.exceptions.NucleusUserException
    A ViewDefinitionException is thrown if the metadata extension(s) that define a view are missing or invalid.
    See Also:
    ClassView, Serialized Form
    • Constructor Detail

      • ViewDefinitionException

        public ViewDefinitionException​(String className,
                                       String viewDef)
        Constructs a class definition exception with the specified detail message.
        Parameters:
        className - The class name for the class backed by a view.
        viewDef - The string provided in the metadata defining the view.