Re: File2 Component's GenericFileOperationFailedException and its code attribute

2012-09-11 Thread Claus Ibsen
Hi The java.io.File API does *not* give back an codes etc. Its just true|false, or IOException. The getCode method is for other kind of file systems (components) that offers that. For example the FTP components. On Tue, Sep 11, 2012 at 12:22 PM, John Lee wrote: > Hello there, > I'm using camel

File2 Component's GenericFileOperationFailedException and its code attribute

2012-09-11 Thread John Lee
Hello there, I'm using camel-core version 2.9.1. I have an application that uses the File2 Camel Component. In cases of write failures, my application intends to take the system error codes ( http://docs.oracle.com/cd/E17952_01/refman-5.0-en/operating-system-error-codes.html), and map it to an app