<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def registerThread(self, name, thread):
 		""" 		Register a new Thread , under the given descriptive name. 		Trying to register multiple threads under the same name will raise an Exception. 		Parameters 		name: string 			Name to register the given thread under. 		thread: threading.Thread, or a subclass 			Thread object to register. 		"""

		if not isinstance(thread, threading.Thread):
			self.logger.error("Thread {0} is not actually a Thread!".format(name))
			raise Exception("Thread {0} is not actually a Thread!".format(name))

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

		self.thread_list[name] = thread
		self.logger.debug("Registered thread {0}".format(name))

		return thread