Exception handling is a programming language construct or computer hardware mechanism designed to handle the occurrence of exceptions, special conditions that change the normal flow of program execution.

learn more… | top users | synonyms

3
votes
0answers
115 views

WaitForDebugEvent() API on .NET application

I have a launcher application that creates a process and monitors it with the WaitForDebugEvent/ContinueDebugEvent API functions. That application is written i C++ and it works fine for the unmanaged ...
3
votes
0answers
164 views

Implementing a sandbox with custom stack on Windows 64-bit

I am currently investigating how to implement a sandbox (similar to Google's NaCl project ) where I can run untrusted x86 code (restricted instruction set) in such a way that it cannot harm the rest ...
3
votes
0answers
318 views

How to handle UnauthorizedAccessException from User Code

In a Windows Application I have, I am doing some changes in registry like deleting a particular key, in some test scenarios like in a Vista machine with its UAC put on, I'm getting ...
2
votes
0answers
92 views

Sending test-fail messages to testers with Specflow in C#

I am writing a test code for QA via Specflow. For now, the tests are full with asserts (e.g.: Assert.IsTrue(foo, "foo is not true, test could not proceed") ), and fail messages. and when a step or a ...
2
votes
0answers
163 views

The remote server returned an error: (401) Unauthorized in Zendesk

I have to access a page from the zendesk.com from my MVC application. I have username and authenticate ticket. When I try to access that page it is returning the error "The remote server returned an ...
2
votes
0answers
112 views

Handling specific exceptions within a mule flow

I have a JAX-RS service wrapped in a mule v3.2.1 flow which may trigger exceptions which I would like to capture and process. I would prefer to send the exception to another class and return an ...
2
votes
0answers
69 views

cakephp 2 custom exceptions are ignored

I am using the excellent PHP-SeleniumClient class in one of my cake2 app's components (https://github.com/Nearsoft/PHP-SeleniumClient). When the class throws one of its own exceptions (e.g. element ...
2
votes
0answers
279 views

entity framework, centralize exception handling

My exception handlings are scattered among various forms. Since I need detailed exception handling the code is a little more complex like: catch (Exception ex) { var conn = ...
2
votes
0answers
194 views

Floating Point Exception handling in ARM assembly

So if I have an exception say inside a subroutine, what happens? Does the function returns NaN (or whatever else appropriate) or it just quits the whole application? From what I gathered reading ARM ...
2
votes
0answers
169 views

Wcf streaming deserialization exception

I have a very strange problem when using streaming mode in wcf. Here are my server and client configurations. Server config: <system.serviceModel> <services> <service ...
2
votes
0answers
931 views

I am getting WebException: “The operation has timed out” immediately on HttpWebRequest.GetResponse()

I am scraping the content of web pages heavily in a multi-thread environment. I need a reliable downloader component that is tolerable to temporary server failures, connection drops, etc. Below is ...
2
votes
0answers
198 views

Find position of a SQL Syntax Error from System.Data.ODBC.ODBCException?

The Goal of my program is to allow our support technicians to run queries on a Faircom, c-tree Plus database while logged in as a user with limited rights. I have the program running and, as long as ...
2
votes
0answers
108 views

Cryptographic Exception when PKI SmartCard is removed in .NET

I am using X509 certificates for authentication. When the SmartCard is removed we sometimes encounter the following Exception (unfortunately I have to exception text only in german...) "Ungültige ...
2
votes
0answers
365 views

How to customize SOAP Fault messages in Mule?

How do I send the fault code and fault string in such a way, that after my flow throws an exception, I get the desired error code and message in the SOAP error response (in FaultCode and FaultString ...
2
votes
0answers
159 views

com.sun.jdi.VMDisconnectedException: connection is closed

I was doing load testing on weblogic server.Messages were exchanged alot and some network congestion has also been seen as i was getting timeout responses. After some time, I received ...

1 2 3 4 5 52
15 30 50 per page