Community
Participate
Working Groups
This is a rather common construct: throw new WhateverException(); When that exception gets thrown, the only information you have is what kind of exception it is. In almost all cases, this would have been much better: throw new WhateverException("The frobs are already glazed"); Then, when the exception gets thrown, you have a high level message explaining why the exception was thrown. I'd like the JDT to be able to warn about creating new exception objects without providing a non-empty explanation string.