Any person, firm, association or corporation violating this chapter, for which violation there is no specific penalty otherwise provided, is guilty of a misdemeanor and subject to a fine not to exceed two thousand five hundred dollars ($2,500) or imprisonment in the county jail not to exceed six months, or both a fine and imprisonment.