Re: Getting Exception.getMessage in map:handle-errors

2013-04-17 Thread Jos Snellings
Hi Ivan,

Please try : jexl:cocoon.exception.messsage

I don't have my cocoon environment handy here, but odds are good that it
works.
Jos


On Wed, Apr 17, 2013 at 5:35 PM, Ivan Lagunov  wrote:

> Hello,
>
> ** **
>
> Is it possible to access fields of the thrown Exception inside
> map:handle-errors?
>
> ** **
>
> I want to do something like this:
>
> 
>
>   
>
> 
>
>   
>
> 
>
>   
>
>   
>
> 
>
>   
>
> 
>
> ** **
>
> Where selector is defined as following:
>
>src="org.apache.cocoon.selection.ExceptionSelector">
>
>  class="org.apache.cocoon.ProcessingException"/>
>
>   
>
> ** **
>
> Any ideas how to achieve this?
>
> ** **
>
> Best regards,
>
> Ivan Lagunov
>
> ** **
>
> ** **
>



-- 
We should be careful to get out of an experience only the wisdom that is
in it - and stay there, lest we be like the cat that sits down on a hot
stove-lid.  She will never sit down on a hot stove-lid again - and that
is well; but also she will never sit down on a cold one any more.
-- Mark Twain
 


Getting Exception.getMessage in map:handle-errors

2013-04-17 Thread Ivan Lagunov
Hello,

 

Is it possible to access fields of the thrown Exception inside
map:handle-errors?

 

I want to do something like this:



  



  



  

  



  



 

Where selector is defined as following:

  



  

 

Any ideas how to achieve this?

 

Best regards,

Ivan Lagunov