fix #40: throw more meaningful exception in SimpleContainer.GetInstance()