i created a windows service that move files around between the server\'s hard drive (where the service is installed) to the network drive mapped in the server. one of the problems I encountered while
I have a client class which connects to a server via WebRequest. Now I\'m struggling with how I could best implement the WebException handling. For a good UI feedback I only need (so far) the exceptio
Since I\'ve learned of exception-handling the first time (not in Python), I was under the impression that when you begin a try block, it\'s like you start writing in a sandbox: if an exception occurs
I get a few exceptions when I run my code. What I want to do is, I want to continue on FileNotFoundException and NullPointerException and break on any 开发者_开发知识库other exception.
I have a Silverlight client talking to a web server (which is, of course, ASP.NET application) using WCF.
I have a method that is a listener for a TCP client which looks like this: private static void ProcessClient(
Is there any way to check if a resource exists in an assembly without having to use exception handling?I\'m currently loading images from several assemblies, and if they don\'t exist then I\'m ha开发者
I\'m collecting crash logs from clients via code that runs with the Thread.setDefaultUncaughtExceptionHandler callback.
I have a WCF client that has thrown this common error, just to be resolved with retrying the HTTP call to the server.For what it\'s worth this exception was not generated within 1 minute.It was genera
In c++, I am able to throw a bare string as an exception, but in c# I must throw an Exception.What is the c# equivalent to throwing a string i开发者_开发知识库n c++ ?