private static void DidFailWithError(int lineNumber, string errorMessage) { string msg = string.Format("{0} : line {1}", errorMessage, lineNumber); PoConvert.Exception.InvalidFormatException e = new PoConvert.Exception.InvalidFormatException(msg); _items = null; throw e; }