Change to using a multicatch for getHMAC exception handling.