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