Correct invalid extending for this type of exception