added throws Exception for methods which access getTask()
Merge branch 'master' of https://github.com/cs2103-t10-1j/main