Hi,

I want to map all types of exception via a single mapping:

<class name="java.lang.Exception">
        <map-to xml="exception" />
        <field name="message" type="string">
                <bind-xml name="message" node="element"/>
        </field>
</class>
 
I seem that this does not work, I need at least a mapping for each exception
type I want to marshall, otherwise the default marshalling of castor is
used:
 
<class name="foo.BarException" extends="java.lang.Exception"/>

Is there a trick that I do not need to define a mapping per exception type?

Thank you


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to