![]() injection of a Symantec user-mode component), it crashes. If an application is unable to handle an exception, whether by error of its own or through outside interference (e.g. ![]() ![]() Otherwise applications would crash all the time. More often than not, an application succesfully handles such an exception. This exception is called a "first-chance exception", as the application first gets a chance to handle the exception through its exception handler.įor example, a console application may allow to enter Y or N in response to a question, but what if the user enters any other character? If the programmer does not take this possible exception into account, the application would crash. This is very useful in scenarios where partial failures are expected and it is not desirable to fail an entire operation just because one of several optional parts failed. When an exception is raised in an application, its exception handler may correct or ignore the condition, rather than allow a failure to propagate up through intervening layers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |