Stories recently tagged with 'Exception'

Exception: Only String, int, and DateTime data types can be used as(praveenbattula.blogspot.com)

submitted by HEROZEROHEROZERO(10) 2 years, 7 months ago

Exception: Only String, int, and DateTime data types can be used as the value in Properties while adding list item in document library. read more...

add a comment |category: |Views: 8

tags: another

Rethrowing Exceptions in C#(winterdom.com)

submitted by crpietschmanncrpietschmann(11.3k) 3 years, 1 month ago

I've been somewhat surprised by this topic in the past few weeks, since it is one that has comed up in a number of circles. Basically, the comments I've heard have related to the lose of stack trace information when "rethrowing" an exception from withing a catch clause in C#. read more...

add a comment |category: |Views: 20

tags: another

Cross-Cutting Concerns should be handled on ALL projects. No Excuses(blog.decayingcode.com)

submitted by arch4ngelarch4ngel(585) 3 years, 4 months ago

The title say it all. All cross-cutting concerns in a project should be handled or given some thought on ALL PROJECTS. No exceptions. No excuses. read more...

add a comment |category: |Views: 21

tags: another

Failed to map the path '/App_GlobalResources/'(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 6 months ago

Failed to map the path '/App_GlobalResources/' is an obscure exception generated due to some permission settings. FInd out what you need to check and change to get rid of this exception. Save yourself allot of time and solve the issue right away! read more...

add a comment |category: |Views: 93

tags: another

Exception Handling - Do's and Dont's(dotnethitman.spaces.live.com)

submitted by misbaharefinmisbaharefin(845) 4 years ago

Exceptions provide a consistent mechanism for identifying and responding to error conditions. Effective exception handling will make code more robust and easier to debug. Exceptions are a tremendous debugging aid because they help answer... read more...

add a comment |category: |Views: 71

tags: another

Short n' sweet on throwing exceptions(nosoupforme.com)

submitted by daninordaninor(435) 4 years, 5 months ago

All those preaching what is best, here is an explanation so you can figure out the best for you read more...

add a comment |category: |Views: 3

tags: another

Why throw; is not allways the best way to rethrow exceptions(blog.vuscode.com)

submitted by malovicnmalovicn(1590) 4 years, 5 months ago

This blog post explains why the standard throw; approach of rethrowing exceptions is not the best in case you care of the full stack trace information read more...

8 comments |category: |Views: 86

tags: another

Re-throwing an exception in .NET; the right way.(blog.dotnetclr.com)

submitted by crpietschmanncrpietschmann(11.3k) 4 years, 5 months ago

This is one of those "Yeah I've always seen people use it differently but I don't know why!" questions. Re-throwing exceptions can be misused, although it may not cause any harm to your application - there are multiple ways of re-throwing an exception, most likely for the purpose of bubbling it up to a higher level. Note to Java developers: It is different in your world. read more...

add a comment |category: |Views: 9

tags: another

Exception Handling Techniques in C# 2.0(aspalliance.com)

submitted by udaydenduluriudaydenduluri(300) 4 years, 6 months ago

Believe me handling exception is one of the toughest things to do for a programmer. It taking your wife for shopping to a very expensive place and allowing her to choose what she wants to buy. :-) Exception handling techniques explained in a best possible way. read more...

4 comments |category: |Views: 34

tags: another

.Net: Passing user data with Exception back to the caller method(weblogs.sqlteam.com)

submitted by spirit1spirit1(3160) 4 years, 8 months ago

A simple way of passing any user data in the Exception back to the caller method. read more...

2 comments |category: |Views: 20

tags: another

Reporting Exceptions through E-Mail (professionalaspnet.com)

submitted by docluvdocluv(1575) 4 years, 8 months ago

One of the terrible things we as developers have to deal with is unhandled exceptions, we all have them good and bad developers. The problem is that no matter how well thought out an application may be we will always have holes that we never anticipated. Unfortunately one day an end user will find it and our application will ungracefully blow up. This article is a simple error reporting routine to e-mail exception details. read more...

4 comments |category: |Views: 14

tags: another

String.IsNullOrEmpty can lead to runtime Null exceptions!(msmvps.com)

submitted by .NetKicks.NetKicks(1304) 4 years, 11 months ago

The author shows a flaw in String.IsNullOrEmpty of the .NET 2.0. Microsoft replies that this bug won't be fixed until Orcas. (see bug report at: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=113102 ) read more...

3 comments |category: |Views: 15

tags: another

C# Exception Handling(blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4217) 5 years, 1 month ago

The thirty-fourth part of the C# Fundamentals tutorial begins a review of exception handling. When an unexpected event occurs, unhandled exceptions cause a program to exit abnormally. Correct handling permits the graceful recovery from an error condition. read more...

add a comment |category: |Views: 29

tags: another

Throw vs Throw ex(thesprage.com)

submitted by Aaronls79Aaronls79(425) 5 years, 5 months ago

A common mistake a lot of new .Net developers do is using Throw ex instead of just Throw. The difference between Throw ex and Throw is very simple but can cause major headaches when it comes to maintenance. If you use Throw ex it overwrites the stack trace this makes it very hard to find the original line of the thrown exception as you can see in the example I have provided. read more...

add a comment |category: |Views: 35

tags: another

More on best practices for exception handling(srtsolutions.com)

submitted by jimholmesjimholmes(215) 5 years, 8 months ago

Bill Wagner (author of "Effective C#"), adds his smart thoughts to Scott Hansleman's post on best practices for exception handling. read more...

add a comment |category: |Views: 76

tags: another