Throw exception on get method if entry is not defined.