[ 
https://issues.apache.org/jira/browse/CONNECTORS-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718146#comment-13718146
 ] 

Karl Wright commented on CONNECTORS-750:
----------------------------------------

idea3 is the right way to go.  But I recommend this structure, for clarity:

catch (FileNotFoundException e)
{
 ...
}
catch (IOException e)
{
 ...
}

Thanks!
                
> FileConnector should skip access denied files
> ---------------------------------------------
>
>                 Key: CONNECTORS-750
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-750
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: File system connector
>    Affects Versions: ManifoldCF 1.2
>            Reporter: Shinichiro Abe
>            Assignee: Shinichiro Abe
>            Priority: Minor
>             Fix For: ManifoldCF 1.4
>
>         Attachments: CONNECTORS-idea1.patch, CONNECTORS-idea2.patch, 
> CONNECTORS-idea3.patch
>
>
> There are permission controlled files that are denied to access on Windows, 
> then FileConnector throws IO Exception "アクセスが拒否されました" (Access denied) 
> and this job has stop (not normally end).
> I'd like to skip those files during crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to