I reported this here some time ago:
http://d.puremagic.com/issues/show_bug.cgi?id=11501 (dup of
http://d.puremagic.com/issues/show_bug.cgi?id=8298)
and there's a pull request ready, not sure why it isn't being merged
On Sun, Jan 5, 2014 at 10:20 PM, dennis denn...@visi.com wrote:
On Sunday, 5
I a using dirEntries to list recursively build a list of all
files in all subdirectories but dirEntries is throwing an
exception when it encounters a broken link.
I want just report the exception, then ignore the broken link and
then continue processing the rest of the dir's and files.
Do I
You must not cast base class to derived class, when you don't
know actual type (and even if you know exact type it's still bad
practice to cast instance of more generic type to more specific
one). Use multiple catch statements instead:
catch(FileException o)
{
//handle FileException
}
On Sunday, 5 January 2014 at 21:33:56 UTC, FreeSlave wrote:
You must not cast base class to derived class, when you don't
know actual type (and even if you know exact type it's still
bad practice to cast instance of more generic type to more
specific one). Use multiple catch statements