throw an exception if overriding fails