Class InvalidPrimaryKeyException

  • All Implemented Interfaces:
    Serializable

    public class InvalidPrimaryKeyException
    extends InvalidClassMetaDataException
    Exception thrown when a primary key class is found to be invalid for some reason. This is due to an invalid specification of MetaData, or maybe the class specified is just wrong, but we just throw it as a meta-data issue.
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidPrimaryKeyException

        public InvalidPrimaryKeyException​(String key,
                                          Object... params)
        Constructor that assumes that the first parameter is the class name (String).
        Parameters:
        key - Message key
        params - The parameters for the message