Man armed with sledgehammer tries to rob Manchester store