CoDev Interview Question

Custom Exception handling and how to call an exception

Interview Answer

Anonymous

Jan 24, 2025

I gave a basic try catch block that put in the exceptions they wanted to handle that were built-in. However since they did not provide the code for the Unit test in Codility, it was difficult to debug what's wrong with the code since the unit test is hidden (ie you had to run the submitted code and just get weird errors)