Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / programming / exceptions

Exceptions

exceptions

Great Reads

by Mark Pelf
NET8/EF8 Breaking Change. Old servers/databases might not understand queries from EF8.
by JatinKhimani
Develop a web application in 3 layer architecture code style
by Marco Bertschi
This tip presents an easy way of verbosely converting an exception and its inner exceptions to a string in order to get access to all details.
by David Serrano Martínez
A strong exception guarantee tester has been written to test how robust methods of class templates are when faced with third party exceptions.

Latest Articles

by Mark Pelf
NET8/EF8 Breaking Change. Old servers/databases might not understand queries from EF8.
by JatinKhimani
Develop a web application in 3 layer architecture code style
by Marco Bertschi
This tip presents an easy way of verbosely converting an exception and its inner exceptions to a string in order to get access to all details.
by David Serrano Martínez
A strong exception guarantee tester has been written to test how robust methods of class templates are when faced with third party exceptions.

All Articles

Sort by Score

exceptions 

by Philip Laureano
How to dynamically intercept thrown exceptions with LinFu.AOP 2.0
by John M. Dlugosz
“Whither exception handling?” We have come full circle.
by Trần_Tuấn_Anh
Coding in Java can be a rewarding experience, especially when you follow best practices and leverage the language's full potential. In this article, we'll explore several tips that can enhance your Java programming skills, backed by examples, demos, and results.
by Wayne Ye
Describes low level differences between several Exception handling grammar including: throw and throw ex; catch and catch (Exception ex)
by Pranay Rana
How to get exact location of exception in C# code
by Trần_Tuấn_Anh
In modern Java applications, handling concurrent tasks efficiently is crucial for performance and responsiveness. CompletableFuture, introduced in Java 8, provides a powerful and flexible way to manage asynchronous operations.
by John Atten
This post is a re-examination of some topics I discuss in an older post.
by John Atten
Checked exceptions in Java.
by Martin Jarvis
Logging is the new Exception Swallowing
by Trần_Tuấn_Anh
Iterators are an essential part of collections in Java, enabling you to traverse through data structures. Two primary types of iterators are fail-safe and fail-fast. Understanding their differences is crucial for writing robust code.
by jgauffin
OneTrueError is my new startup which also is a member of Microsoft BizSpark. This post is about the client library for ASP.NET (WebForms/MVC/WebAPI). It will catch and handle all uncaught exceptions automatically. They are also uploaded to our site for … Continue reading →
by jgauffin
OneTrueError and the WCF Integration
by Dev Leader
Secret of Task EventHandlers
by jgauffin
Throwing exceptions
by Sebastian Solnica
Topshelf's Windows Service and try-finally
by Trần_Tuấn_Anh
In Java, two common runtime issues related to class loading are ClassNotFoundException and NoClassDefFoundError. These exceptions can be confusing for developers, especially when diagnosing and fixing classpath issues.
by Trần_Tuấn_Anh
When diving into Java programming, understanding the distinction between errors and exceptions is crucial. This knowledge not only helps you handle runtime issues more effectively but also enables you to write more robust and maintainable code.
by jgauffin
This post will discuss what exceptions are.
by Trần_Tuấn_Anh
Exception propagation is a fundamental concept in Java programming that determines how exceptions are handled and passed through different levels of a program. This mechanism is crucial for ensuring that errors are managed effectively and that your code remains robust and maintainable.
by Trần_Tuấn_Anh
In Java, resource management is a crucial aspect of writing efficient and error-free code. Two common approaches to handling resources and exceptions are the traditional try-catch-finally block and the more modern try-with-resource statement.