The way to do it is to create T1 object in class T2, and start it from there. Next, you'll have to call t1.interrput() from t2 in order to evoke the InterruptedException. Realize that notifyAll() will work only if the object from which you are calling it is the owner of that object.
The first thing you should know is that the documentation on the commands is VERY good. So look in the documentation to understand wait and notify. notifyAll() is the same as this.notifyAll(); Which means it will notify anyone waiting on "this" object. you are calling this.wait() on the t1 object, but calling this.notifyAll() on the t2 object. you must make the calls on the same objects to get what you are looking for.