KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > prevayler > foundation > Cool


1 package org.prevayler.foundation;
2
3 /** Cool things that are often needed.
4  */

5 public class Cool {
6
7     public static void wait(Object JavaDoc object) {
8         try {
9             object.wait();
10         } catch (InterruptedException JavaDoc e) {
11             e.printStackTrace();
12             throw new RuntimeException JavaDoc("Unexpected InterruptedException.");
13         }
14     }
15
16 }
17
Popular Tags