I've tried and no exception or console error is raised when you execute a command string that isn't registered. So no need to try-catch.