Questions tagged [unhandled-exception]

An unhandled exception is an Exception that is thrown by execution but is never caught by the program, which results in a Exception Stack.

An unhandled exception is an Exception that is thrown by execution but is never caught by the program, which results in a Exception Stack.

This could be avoided by catching the exception in a try-catch statement, but it is not always appropriate to catch every possible exception. Sometimes the exception is the result of the client making a mistake rather than something that occurred where it is thrown, therefore the client should be informed of the exception. Most of the time however, it is user friendly to not propagate exceptions.

Read more here.

762 questions
-2
votes
1 answer

Error with infinite loop and unhandled exceptions

I was doing my labwork in c#. And I have got this mistake. Can not figure out how to deal with it. My code consists of several layers - Student class ---------- using System; using System.Collections.Generic; using System.Linq; using…
Cassie
  • 2,941
  • 8
  • 44
  • 92
-2
votes
1 answer

Unhandled Exceptions in simple application

I'm fairly new to C++ and coding in general, and I'm using Visual Studio 2013 Desktop to write a simple program to collect and perform some operations on data from a .CSV file. The program seems to compile and run fine, and asks me to type in a name…
-3
votes
1 answer

Different date time format of the user causing an error

My application is giving an error on different installation based on their different date/time format which my codes are based on for example below original code ; Private Sub DateTimePicker1_ValueChanged(sender As Object, e As EventArgs) Handles…
-3
votes
1 answer

Unhandled Promise Rejections 17

i am writing test cases using mocha , mockgoose and chai. while running test cases i will get unhandle Promise Rejections 17 error. UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 17): Mongod shutting down Unhandle…
-3
votes
1 answer

Implementation of Memory game in C++ - keep out of range at memory location error

So, I keep getting an error saying: Unhandled exception at _______ in ProgCW.exe: Microsoft C++ exception: std::out_of_range at memory location ________. I have found this code online and have implemented it, but there seems to be something wrong…
-3
votes
1 answer

Unhandled Aggregate Exception

I have followed the tutorial in ( http://www.c-sharpcorner.com/UploadFile/a6fd36/understand-self-host-of-a-web-apiC-Sharp/ ) and ( http://www.c-sharpcorner.com/uploadfile/a6fd36/understanding-how-to-call-the-web-api-from-a-client-applica/ ) but seem…
Wahm
  • 13
  • 1
  • 1
  • 8
-3
votes
1 answer

'System.AggregateException' occurred in mscorlib.dll” when using SignalR

Consider the following code: using Microsoft.AspNet.SignalR.Client; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Stock { …
d33tah
  • 10,999
  • 13
  • 68
  • 158
-3
votes
1 answer

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory

Need Help. I am doing work on facial emotion recognition in VS2010 using OPENCV and FANN Library. It Build successfully but running it give following error: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected…
ghalibjanjua
  • 49
  • 1
  • 7
-4
votes
2 answers

Access violation reading location 0x0000001

I have this function in c++ that should add a member to a linked list, but when it's executed it throw an exception: Unhandled exception at 0x5b9414cf (msvcr100d.dll) in Sample.exe: 0xC0000005: Access violation reading location 0x00000001 This…
Azazel
  • 25
  • 1
  • 6
-5
votes
2 answers

Unhandled exception when calling object

I constructed the following class: public class FSCServerLocator { public string userLocation { get; private set; } public string FSCServer { get { switch (userLocation) …
Răzvan Bălan
  • 33
  • 1
  • 13
-6
votes
1 answer

Class destructor, runtime error: Unhandled exception - Stack overflow

The destructor for List appears to work, but having trouble with the destructor for Element and List_iter: Unhandled exception : 0xC00000FD: Stack overflow (parameters: 0x00000001, 0x002E2F78). List: #ifndef GUARD_List_h #define…
tuk
  • 367
  • 1
  • 4
  • 10
1 2 3
50
51