Class ViewDefinitionException

  • All Implemented Interfaces:
    java.io.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
    • Field Summary

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

      Constructors 
      Constructor Description
      ViewDefinitionException​(java.lang.String className, java.lang.String viewDef)
      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

      • ViewDefinitionException

        public ViewDefinitionException​(java.lang.String className,
                                       java.lang.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.