The easiest way is to set a breakpoint in the constructor of the MyImpl class and debug it.
One difficult problem that you may encounter is that the exception was not actually selected directly by the constructor, but by some field initializer.
For example, the following will lead to the behavior you described, even if there is no explicit constructor that could throw anything.
public class MyImpl { private int something = ThisMethodThrows(); private int ThisMethodThrows() { throw new Exception(); } }
source share