Your action will have access to the Throwable. It is in the object model.
Take a look at ObjectModelHelper.

Gunter D'Hondt said:
> Hello,
>
> I want to send an email when an exception occurs and inside the mailbody
> the exception stacktrace must be written. So I thought to make an action
> "action-sendmail" and call it from the map:handle-errors part. That
> definitely triggers the action but how can I send the Exception object (or
> just the errormessage and its stacktrace to that action so I can place it
> into the mailbody.
>
> Can the Exception object been sent thru a parameter? Where is the
> exception located? Inside the request object?
>
> See below a snippet of the sitemap
>
> Any help is welcome,
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to