<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getThread(self, name):
 		""" 		Retrieve the Thread registered under the given name. 		If the given name does not exists in the Thread list, an Exception is raised. 		Parameters 		name: string 			Name of the Thread to retrieve 		"""

		if not name in self.thread_list:
			self.logger.error("Thread {0} is not registered!".format(name))
			raise Exception("Thread {0} is not registered!".format(name))

		return self.thread_list[name]