I have a question regarding exception handling. Consider following Java code snippet.
try{
//code
}catch(SubSubException subsube
Considering the code in the first block tests the type of the exception, test for the base exception once (in the second bit of code you are testing for the base Exception twice in a way) and is less indented (thus less logic to grok), my thought is that the first one is far nicer, easier to understand etc.
Disadvantages: - Harder to understand