Ah, I see the problem. WTKXSerializer used to expose the line number as a property. I had forgotten that it no longer does so.

If we did add this value to SerializationException, we could potentially define a value of -1 to mean either "unknown" or "not applicable". Thoughts?

If we go ahead with this change, I think we should also update JSONSerializer and CSVSerializer. They currently still define a getLineNumber() method that should probably be removed and replaced by the value in the exception.

G

On Nov 16, 2009, at 6:26 PM, Christopher Brind wrote:

I don't see how - any suggestions?


2009/11/16 Greg Brown <[email protected]>

Any objections if I add the following to SerializationException in order to
support the Pivot plugin?


Possibly. Not all serializers read text files, so a line number is not
always meaningful.

Is it not possible to use the line number that already provided by the
serializer?




Reply via email to