Error!
Success!

By tag: Exception

showing:  of
0
kicks

Exception: Only String, int, and DateTime data types can be used as  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Rethrowing Exceptions in C#  (Unpublished)

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#.


Kicked By:
Drop Kicked By:
0
kicks

Cross-Cutting Concerns should be handled on ALL projects. No Excuses  (Unpublished)

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.


Kicked By:
Drop Kicked By:
0
kicks

Failed to map the path '/App_GlobalResources/'  (Unpublished)

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!


Kicked By:
Drop Kicked By:
0
kicks

Exception Handling - Do's and Dont's  (Unpublished)

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...


Kicked By:
Drop Kicked By:
0
kicks

Short n' sweet on throwing exceptions  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Why throw; is not allways the best way to rethrow exceptions  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Re-throwing an exception in .NET; the right way.  (Unpublished)

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 bubbli...


Kicked By:
Drop Kicked By:
0
kicks

Exception Handling Techniques in C# 2.0  (Unpublished)

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.


Kicked By:
Drop Kicked By:
0
kicks

.Net: Passing user data with Exception back to the caller method  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Reporting Exceptions through E-Mail  (Unpublished)

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 i...


Kicked By:
Drop Kicked By:
0
kicks

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

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 )


Kicked By:
Drop Kicked By:
0
kicks

C# Exception Handling  (Unpublished)

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.


Kicked By:
Drop Kicked By:
0
kicks

Throw vs Throw ex  (Unpublished)

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 origina...


Kicked By:
Drop Kicked By:
0
kicks

More on best practices for exception handling  (Unpublished)

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


Kicked By:
Drop Kicked By: