Hello,
 
I have a query on the trycatch task.
 
Can I specify a particular type of exception to catch in the catch block. Like for eg in VB.NET if we want to catch a validation exception in a particular block of code we could say something like:
 
try
 //Block of code to execute
 
catch ex as FileNotFoundException
 
Console.WriteLine ex.stacktrace
 
end try
 
Can I specify something like this in NAnt trycatch task?
 
Regards,
Niranjan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to