@@ -0,0 +1,638 @@
+package jeight.exceptions;%0A%0Aimport java.io.IOException;%0A%0A/**%0A * @author Michael Gfeller%0A */%0Apublic class CEExample implements Runnable %7B%0A%0A  public static void main(String%5B%5D args) throws IOException %7B%0A    Thread  thread = new Thread( new CEExample());%0A    thread.start();%0A    try %7B%0A      Thread.sleep(5000);%0A    %7D catch (InterruptedException e) %7B%0A      e.printStackTrace();%0A    %7D%0A    throw new IOException(%22oops%22);%0A  %7D%0A%0A  @Override%0A  public void run() %7B%0A    while (true) %7B%0A      try %7B%0A        Thread.sleep(5000);%0A      %7D catch (InterruptedException e) %7B%0A        e.printStackTrace();%0A      %7D%0A      System.out.println(%22Alive!%22);%0A    %7D%0A  %7D%0A%7D%0A

check exception example