Ensure that only custom exceptions are caught