Hurley man arrested for throwing a baseball bat through window