[svn] r5925: nemerle/trunk/ncc/hierarchy/CustomAttribute.n

nazgul svnadmin at nemerle.org
Thu Nov 10 21:46:12 CET 2005


Log:
Catch some other exception, which appeared to me

Author: nazgul
Date: Thu Nov 10 21:46:07 2005
New Revision: 5925

Modified:
   nemerle/trunk/ncc/hierarchy/CustomAttribute.n

Modified: nemerle/trunk/ncc/hierarchy/CustomAttribute.n
==============================================================================
--- nemerle/trunk/ncc/hierarchy/CustomAttribute.n	(original)
+++ nemerle/trunk/ncc/hierarchy/CustomAttribute.n	Thu Nov 10 21:46:07 2005
@@ -426,6 +426,8 @@
         SR.StrongNameKeyPair(File.Open(name, FileMode.Open, FileAccess.Read))
       }
       catch {
+        | _ is DirectoryNotFoundException => 
+          Message.FatalError (loc, "could not find directory of `" + name + "' with key pair for assembly")
         | _ is FileNotFoundException =>
           Message.FatalError (loc, "could not find file `" + name + "' with key pair for assembly")
       }



More information about the svn mailing list