Class PrimaryKeyColumnNotAllowedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PrimaryKeyColumnNotAllowedException
    extends org.datanucleus.exceptions.NucleusException
    A PrimaryKeyColumnNotAllowedException is thrown if an attempt is made to add a primary key column to a view.
    See Also:
    Serialized Form
    • Field Summary

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

      Constructors 
      Constructor Description
      PrimaryKeyColumnNotAllowedException​(java.lang.String viewName, java.lang.String columnName)
      Constructs a primary key not allowed 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

      • PrimaryKeyColumnNotAllowedException

        public PrimaryKeyColumnNotAllowedException​(java.lang.String viewName,
                                                   java.lang.String columnName)
        Constructs a primary key not allowed exception.
        Parameters:
        viewName - Name of the view being initialized.
        columnName - Name of the column having the duplicate name.