You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by robert burrell donkin <ro...@gmail.com> on 2007/03/25 21:23:31 UTC

[jSieve] Adding more detail to SyntaxExceptions

ParseException gives information about the line number.
SyntaxException (on the other hand) contains very little information
where the problem is. this makes debugging scripts of any size
difficult.

AFAIC this information is not easily available from where this
exception is thrown.

how difficult would it be to add the start line number into
AbstractCommand and then set it during the parse?

are there easier ways to solve this?

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org