Skip to main content

Blog Archive for unoinpiu during May 2009

Consider the following interface: public interface X { public void doSomething() } and two implementations: public class Good implements X { public void doSomething() { ; } } public class Bad implements X { public void doSomething() { throw new RuntimeException(""); } } Let's have a convenience class ExcpnChecker with just one static method to check whether a given...