V0.2 [updated] added Exception handling for getTasksByName(String)