Class PrimaryKeyColumnNotAllowedException

  • All Implemented Interfaces:
    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
    • Constructor Detail

      • PrimaryKeyColumnNotAllowedException

        public PrimaryKeyColumnNotAllowedException​(String viewName,
                                                   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.