System.out.println("exception occured: " + x);
System.out.println("exception occurred: " + x);
  public void run()  {    System.out.println ("new thread running");    synchronized (this)    {      try      {	wait();      }      catch (Exception x)      {        System.out.println("exception occured: " + x);      }    }        System.out.println ("thread notified okay");  }