Handling CPF exception