Replacing NotImplemented with NotImplementedError

* NotImplemented is an old-style class and should not be used

Change-Id: I0476ef417415c7dae98a7104619658979267bb37