Subclasses must precede superclasses in catch statements

http://ideone.com/tYUQnD