The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


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...