Throw exception if null is provided as service interfaces array.