Throw exception instead of returning null for unimplemented method