Hawley man sentenced to prison