Class CreateInstanceException

    • Constructor Detail

      • CreateInstanceException

        public CreateInstanceException​(String entityName,
                                       String message)
        Basic constructor with the name of the entity and a message explaining the cause of the error.
        Parameters:
        entityName - The name of the entity for which no instance could be created.
        message - The message explaining the error that occurred.
    • Method Detail

      • getEntityName

        public String getEntityName()
        This method returns the entity name of the instance that could not be created.
        Returns:
        the entity name of the instance that could not be created.