If you know your dates might have errors and you want to
programmatically fix those errors or handle them in a special way, you
might want to use a custom FieldHandler so that you can intercept the
values before they are parsed by Castor's DateFieldHandler.

--Keith

Renato Torres wrote:
> 
> Hi.
> When I unmarshall an XML file I need to do some special error handling
> of potencial errors that the it might have (for example, dates with an
> incorrect format or strings in the place of integers).
> 
> What is the best way of doing it?
> 
> Thank you very much,
> 
> --Renato
> 
> PS: I'm using Castor 0.9.5.2
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to