Make exception subclasses use their superclass properly