You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Peter Romianowski <an...@gmx.de> on 2004/01/12 14:31:17 UTC
Including more information in exceptions
Hi,
what about adding more information to the exceptions thrown. At least
the line-number should be easily retrievable from the exception. This
makes it easier in interactive situation where you want to prompt the
error to a user.
Regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
Re: Including more information in exceptions
Posted by Peter Romianowski <an...@gmx.de>.
>> what about adding more information to the exceptions thrown. At least
>> the line-number should be easily retrievable from the exception. This
>> makes it easier in interactive situation where you want to prompt the
>> error to a user.
>
>
> Do you mean exceptions thrown from w/in the template? or where?
Mostly ParseExceptions or MethodInvocationExceptions (where you have
the method name but not the row / column IIRC)
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
Re: Including more information in exceptions
Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Jan 12, 2004, at 8:31 AM, Peter Romianowski wrote:
> Hi,
>
> what about adding more information to the exceptions thrown. At least
> the line-number should be easily retrievable from the exception. This
> makes it easier in interactive situation where you want to prompt the
> error to a user.
Do you mean exceptions thrown from w/in the template? or where?
>
> Regards
> Peter
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
--
Geir Magnusson Jr 203-247-1713(m)
geir@4quarters.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org