Viene lanciata una eccezione "IllegalThreadStateException" alla riga in cui vi è "t2.wait ()"