io method exception throw