| Element <exception-mapping> |
| Each exception-mapping element defines how an exception thrown by
the built service shall be mapped to another one.
The order in which exception-mapping elements appear is important
(just like the order of catch clauses in Java). |
| Attribute from (required) | Translator: | class |
| Attribute to (required) | Translator: | class |
| Conversion Rules |
|
<conversion class="net.sourceforge.hiveutils.service.impl.ExceptionMappingContribution"
/>
|
| Element <exception-mapper> |
| Directly defines an object implementing ExceptionMapper to do specific
mappings that are not one-to-one.
This is allowed only once and it is exclusive with any use of
the exception-mapping tag. |
| Attribute mapper (required) | Translator: | object |
| Conversion Rules |
|
<conversion class="net.sourceforge.hiveutils.service.impl.ExceptionMapperContribution"
/>
|