exception handling in device challange response