Class NotATableException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotATableException
    extends org.datanucleus.exceptions.DatastoreValidationException
    A NotATableException is thrown during schema validation if a table should be a table but is found not to be in the database.
    See Also:
    TableImpl, Serialized Form
    • Field Summary

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

      Constructors 
      Constructor Description
      NotATableException​(java.lang.String tableName, java.lang.String type)
      Constructs a not-a-table exception.
    • 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

      • NotATableException

        public NotATableException​(java.lang.String tableName,
                                  java.lang.String type)
        Constructs a not-a-table exception.
        Parameters:
        tableName - Name of the table that is of the wrong type.
        type - the type of the object