9,868,710 members (41,729 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
127 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Algorithms & Recipes
Bugs & Workarounds
Collections
Cryptography & Security
Date and Time
DLLs & Assemblies
Exception Handling
Game Development
Internet / Network
Localisation
Macros and Add-ins
Parallel Programming
Programming Tips
String handling
Threads, Processes & IPC
Tools and IDE
Ultrabooks
Uncategorised Quick Answers
Uncategorised Tips and Tricks
WinHelp / HTMLHelp
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 3
Page Size:
10
·
25
·
50
Category filtered by: General Programming
[x]
| Exception Handling
[x]
Exception Handling
by
Surreal8Developer
Technical Blog
7 May 2013
license:
CPOL
Leaving an end user with the ability to do more damage is never the way to go.
General Programming » Exception Handling »
General
Architect
Intrinsic String.Format in Exception Throwing
by
Brady Kelly
Tip/Trick
22 Apr 2013
license:
CPOL
General Programming » Exception Handling »
General
C#
Windows
.NET
Dev
Beginner
Exception
coding
programming
Throwing exceptions
by
jgauffin
Technical Blog
16 Apr 2013
license:
LGPL3
Throwing exceptions is in itself trivial. Just invoke throw with an exception object. But when should you throw? Should you create a new exception or rethrow an old one? What should you include in the exception info? What are exceptions … Continue reading →
General Programming » Exception Handling »
General
C#
.NET
Architect
Dev
Beginner
Intermediate
Advanced
Exception
How to design exceptions
by
jgauffin
Technical Blog
8 Apr 2013
license:
LGPL3
This article will teach you how you should design your exception classes.
General Programming » Exception Handling »
General
C#
What are exceptions?
by
jgauffin
Technical Blog
4 Apr 2013
license:
LGPL3
This blog has been quiet for a while. I am currently writing a book about localization. Me and my partner is also getting close to release of our new startup. One of it’s features is to automatically catch unhandled exceptions … Continue reading →
General Programming » Exception Handling »
General
C#
.NET
Architect
Dev
Beginner
Intermediate
Exception
Do NOT catch that exception!
by
jgauffin
Technical Blog
1 Mar 2013
license:
LGPL3
Ohhh, I've recently seen one to many application where the developers try to be safe by catching exceptions all over the place. It can be everything from a small simple method that doesn't throw that many exceptions to a large method with multiple try/catch statements. Most of those catch blocks jus
General Programming » Exception Handling »
General
Architect
All-Topics
SMTP Exception: 550 5.7.1 Unable to Relay
by
MJ Ferdous
Technical Blog
21 Jan 2013
license:
CPOL
SMTP Exception: 550 5.7.1 Unable to relay.
General Programming » Exception Handling »
General
Architect
RegisterForEventValidation can only be called during Render();
by
nileshpujari
Answer
30 Dec 2012
license:
CPOL
i was also getting the same problem...i did all the things that is suggested here...now i am not getting that error but the excel file is not getting generated..please help..
General Programming » Exception Handling »
General
C#2.0
ASP.NET
C#
If/else instead of try/catch
by
ProgramFOX
Tip/Trick
9 Nov 2012
license:
CPOL
In this article I tell you how you to use if/else instead of try/catch.
General Programming » Exception Handling »
General
C#
.NET
Beginner
Exception
try
catch
if
else
Google’s gtest not handling friend tests correctly
by
VentsyV
Technical Blog
29 Oct 2012
license:
CPOL
You can’t properly friend test methods that are in a different namespace than the class being tested.
General Programming » Exception Handling »
General
Architect
Exception Handling in ASP.NET MVC
by
After2050
Technical Blog
21 Sep 2012
license:
CPOL
Learn about the HandleError filter and discuss about the different exception handling mechanisms that will fit to an MVC application.
General Programming » Exception Handling »
General
C#
ASP.NET
Dev
Intermediate
Read last executed SQL statement from a memory dump
by
Sebastian Solnica
Technical Blog
17 Jun 2012
license:
CPOL
One way of diagnosing SQL exceptions by using memory dumps.
General Programming » Exception Handling »
General
C#
SQL
.NET
Dev
Intermediate
Exception
Automating Retry on Exception
by
James Curran
Technical Blog
7 Jun 2012
license:
CPOL
How to automate Retry on Exception.
General Programming » Exception Handling »
General
C#
.NET
Dev
Intermediate
Throwing Exceptions
by
Jayson Ragasa
Tip/Trick
11 May 2012
license:
CPOL
Showing how to throw Exceptions from the Base Class to the main class
General Programming » Exception Handling »
General
C#
.NETCF
.NET
Beginner
Intermediate
Exception unsafe
by
sashan govender
Technical Blog
26 Apr 2012
license:
CPOL
What it means for code to satisfy the basic exception safety guarantee.
General Programming » Exception Handling »
General
C++
Dev
Intermediate
DLL Dependency Viewer or How To Fix Exception: “Unable to load DLL “…” The specified module could not be found. (Exception from HRESULT: 0x8007007E)”
by
bovykinmaxim
Technical Blog
2 Mar 2012
license:
CPOL
How to fix this DLL importing error.
General Programming » Exception Handling »
General
C#
.NET
Dev
Intermediate
Render Exceptions in an Entity Framework application
by
Harry von Borstel
Tip/Trick
8 Feb 2012
license:
CPOL
Extension Method for exceptions that give a useful text even on Entity Framework Exceptions
General Programming » Exception Handling »
General
C#
.NET
Exception
EF
Effective Exception Handling in Visual C++
by
zexspectrum
Article
6 Jan 2012
license:
CPOL
An overview of the standard exception handling techniques provided by Visual C++.
General Programming » Exception Handling »
General
C++
Windows
Dev
Intermediate
Exception
ErrorHandling
Error: Cannot have two operations in the same contract with the same name
by
Bangla Gopal Surya
Tip/Trick
22 Nov 2011
license:
CPOL
General Programming » Exception Handling »
General
WCF
Error: The server encountered an error processing the request. See server logs for more details
by
Bangla Gopal Surya
Tip/Trick
22 Nov 2011
license:
CPOL
General Programming » Exception Handling »
General
WCF
Error: The Name property must be a non-empty string
by
Bangla Gopal Surya
Tip/Trick
22 Nov 2011
license:
CPOL
General Programming » Exception Handling »
General
WCF
Reduce debugging time using the .NET StackTrace class
by
Paolo Foti
Article
18 Nov 2011
license:
CPOL
Use the .NET StackTrace class to position yourself in the right place of source code that threw an Exception.
General Programming » Exception Handling »
General
C#3.0
.NET3.5
Dev
QA
Intermediate
C#
.NET
Visual-Studio
VS2010
RegisterForEventValidation can only be called during Render();
by
Prince Antony G
Answer
14 Nov 2011
license:
CPOL
also addpublic override void VerifyRenderingInServerForm(Control control){}
General Programming » Exception Handling »
General
C#2.0
ASP.NET
C#
RegisterForEventValidation can only be called during Render();
by
mandarapu
Answer
14 Nov 2011
license:
CPOL
hi,i also faced with the same problem before and finally with the following changes my problem solved.please check public...
General Programming » Exception Handling »
General
C#2.0
ASP.NET
C#
Safe guarding from NoMethodError exception in Ruby
by
zenwalker1985
Technical Blog
1 Nov 2011
license:
LGPL3
Dear Reader, We all know that Ruby is dynamic language where in calling a method on a type or perhaps object in ruby is not known or figured out until run time. So assume that if your writing your class and if some one else is accessing your class and tries to call some method [...]
General Programming » Exception Handling »
General
Architect
All-Topics
Using the Correct Exception Type for your Cause
by
Doc Lobster
Tip/Trick
30 Oct 2011
license:
CPOL
When you have to raise an exception, there is always the question whether to create a new exception type or use one of the numerous ones in the .NET class library.
General Programming » Exception Handling »
General
C#
.NET
Beginner
Exception
A point on exceptions
by
alexpeter
Article
20 Oct 2011
license:
CPOL
Exceptions from yet another angle.
General Programming » Exception Handling »
General
C++
Dev
QA
Intermediate
Exception
Order in Chaos: Handling unhandled exceptions in a WPF application
by
Arik Poznanski
Technical Blog
8 Sep 2011
license:
Ms-PL
Order in Chaos: Handling unhandled exceptions in a WPF application
General Programming » Exception Handling »
General
Architect
WPF
Handle Exception Carefully
by
Pranay Rana
Technical Blog
25 Jul 2011
license:
CPOL
Handle Exception carefully means I am not going to discuss some rocket science about exception handling but I am going to discuss not to shadow the exception in your program. Not going to discuss more I am starting my exampleclass Program { static void Main(string[] args) {
General Programming » Exception Handling »
General
Architect
All-Topics
Cloning an Exception (kinda sorta)
by
charles henington
Tip/Trick
4 Jul 2011
license:
CPOL
[Serializable]...
General Programming » Exception Handling »
General
C#
Making Your C++ Code Robust
by
zexspectrum
Article
27 Jun 2011
license:
CPOL
How to write C++ code more tolerant to critical errors.
General Programming » Exception Handling »
General
C++
Windows
Dev
Beginner
Exception
practices
Errors
Details on Transactionscope exception handling
by
Brian Risley
Tip/Trick
30 May 2011
license:
CPOL
How to do transaction scope exception handling.
General Programming » Exception Handling »
General
VB
Exception
VB.NET
.NET4
Delegates 101 - Part IV: Event Handling
by
MBigglesworth79
Technical Blog
7 May 2011
license:
CPOL
Event Handling
General Programming » Exception Handling »
General
C#
Architect
VB
All-Topics
VB.NET
Logging is the new Exception Swallowing
by
Martin Jarvis
Technical Blog
4 May 2011
license:
CPOL
Logging is the new Exception Swallowing
General Programming » Exception Handling »
General
Architect
All-Topics
Exception
Handling
Dynamically Intercepting Thrown Exceptions with LinFu.AOP 2.0
by
Philip Laureano
Technical Blog
4 May 2011
license:
LGPL3
Another useful thing that LinFu.AOP allows you to do is to intercept (and rethrow) exceptions within your applications at runtime. LinFu makes it so easy, in fact, that all you have to do is add the following lines to your CSProj file...
General Programming » Exception Handling »
General
.NET
Exception
Handling
Instantiating an SqlException
by
PIEBALDconsult
Tip/Trick
20 Apr 2011
license:
CPOL
Using Reflection to instantiate a System.Data.SqlClient.SqlException
General Programming » Exception Handling »
General
C#
SQL
Cloning an Exception (kinda sorta)
by
PIEBALDconsult
Tip/Trick
10 Apr 2011
license:
CPOL
Using Reflection to instantiate an Exception of a given type
General Programming » Exception Handling »
General
C#
Cloning an Exception (kinda sorta)
by
Andrew Rissing
Tip/Trick
9 Apr 2011
license:
CPOL
I would actually go the route getting those developers to follow good practice. As a whole, the field would be better off if developers like that were mentored rather than something like this.So, I would recommend using either of the techniques you put forth originally (using the Data...
General Programming » Exception Handling »
General
C#
Out of Memory Exception: A simple string.Split can become fatal if not used properly
by
Vipin Kumar vpnchoudhary
Technical Blog
2 Apr 2011
license:
CPOL
Introduction: Recently I was working on an issue caused by OOM exception and found out interesting finding about String.Split() function. I thought I should share the finding with others and they may also benefit from this analysis in solving OOM exceptions. Its a step by step article, i have tried
General Programming » Exception Handling »
General
.NET
Architect
Intermediate
Fixing “Unrecognized configuration section userSetting” Errors
by
TheyCallMeMrJames
Technical Blog
1 Mar 2011
license:
CPOL
How to handle the “Unrecognized configuration section userSetting” exception.
General Programming » Exception Handling »
General
.NET
Dev
Intermediate
Avoiding useless checks
by
gedgei
Technical Blog
12 Feb 2011
license:
CPOL
Avoiding useless checks
General Programming » Exception Handling »
General
All-Topics
Development
Internals of Exception Handling
by
Abhishek Sur
Technical Blog
30 Jan 2011
license:
CPOL
Internals of Exception Handling
General Programming » Exception Handling »
General
.NET
Architect
Logging Unhandled Exceptions in an ASP.NET Website
by
mgoad99
Article
14 Jan 2011
license:
CPOL
Logging unhandled exceptions in an ASP.NET website using MS Enterprise Application Blocks.
General Programming » Exception Handling »
General
C#
ASP.NET
.NET
Dev
Intermediate
Exception
Recovering your application from unhandled exception in .NET
by
jebarson
Technical Blog
10 Jan 2011
license:
CPOL
Recovering your application from unhandled exception in .NET
General Programming » Exception Handling »
General
C#
.NET
Architect
Multi Language / Multicultural Exception Handling In WCF Using FaultReason
by
jebarson
Technical Blog
10 Jan 2011
license:
CPOL
Multi Language / Multicultural Exception Handling In WCF Using FaultReason
General Programming » Exception Handling »
General
C#
Architect
WCF
Ways of Throwing an Exception in C#
by
Abhishek Sur
Technical Blog
7 Dec 2010
license:
CPOL
Exception handling is very common for everyone. Exceptions are runtime errors which might be caused by some operation illegal to the application. .NET provides a good Exception Model (even though Microsoft wants to change this model) using try/catch which lets us to deal with runtime exceptions from
General Programming » Exception Handling »
General
Architect
The art of creating exceptions
by
jgauffin
Technical Blog
6 Dec 2010
license:
LGPL3
This will be my final piece on exception handling. It's been fun, but the show must go on, right? Got any suggestion on what I should rant about in this blog? Leave a comment. Continue reading →
General Programming » Exception Handling »
General
C#
.NET
Architect
Dev
All-Topics
Team Foundation Server 2010 Event Handling with Subscribers
by
Martin Hinshelwood
Technical Blog
5 Dec 2010
license:
CPOL
Team Foundation Server 2010 Event Handling with Subscribers
General Programming » Exception Handling »
General
Architect
VB
VB.NET
Common mistakes when working with exceptions
by
jgauffin
Technical Blog
30 Nov 2010
license:
LGPL3
There are a few mistakes that's really common when it comes to exception handling and I thought that I should write a small entry about them. Continue reading →
General Programming » Exception Handling »
General
.NET
Architect
Dev
All-Topics
Development
Exception Handling in WCF
by
Dinesh K Mandal
Technical Blog
9 Nov 2010
license:
CPOL
We have been doing exception handling in managed application using try-catch block with Exception or its derived Custom Exception objects. But this mechanism is very much .Net Technology specific. When we develop SOA applications, our application is not limited to mere one technology or single loyal
General Programming » Exception Handling »
General
C#
.NET
Architect
Dev
WCF
Advanced
Page 1 of 3
1
2
3
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid