Class MissingColumnException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MissingColumnException
    extends org.datanucleus.exceptions.DatastoreValidationException
    A MissingColumnException is thrown if an expected column is not found in the database during schema validation.
    See Also:
    Column, Serialized Form
    • Field Summary

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

      Constructors 
      Constructor Description
      MissingColumnException​(Table table, java.util.Collection columns)
      Constructs a missing column exception.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String getColumnNameList​(java.util.Collection columns)  
      • 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

      • MissingColumnException

        public MissingColumnException​(Table table,
                                      java.util.Collection columns)
        Constructs a missing column exception.
        Parameters:
        table - The table in which column(s) were missing.
        columns - The collection of Column(s) that were missing.
    • Method Detail

      • getColumnNameList

        private static java.lang.String getColumnNameList​(java.util.Collection columns)