Extends and shadowing exception