Test the abstract method throws exception.