I think this is a better way of handling the situation, compared to throwing the exception. Shall we remove the exception instead? If you do, revise Ui tests accordingly.