Tag

Exception Handling

All blogs tagged with Exception Handling

10
Articles
60,258
Total Views

Showing 10 of 10 articles

21
Aug
2023
java.lang.IndexOutOfBoundsException
4,267 views

The java.lang.IndexOutOfBoundsException is an exception class in Java that is thrown when an index used to access an array, list, or other collection is either negative or greater than or equal to the size of the collection. This usually indicates an attempt to access an element at an invalid index that does not exist in the collection.

05
Aug
2020
Exception Handling and Creating Exception Logs in Asp.net MVC
20,432 views

So basically in a MVC Project we often use many controllers for making our web project functional.So one way is to handle exception separately on all of them or we can simple use a Base Controller. A Base controller can be told as a parent controller from which all other controller will inherit.So in that way Exception handling performed on Base Controller will get applied on all controllers which inherits from this controller.

05
Aug
2020
Exception Handling Asp.Net Core
20,733 views

Error Handling in Asp.Net Core has changed a bit from what we used to use in Asp.Net Mvc. Before .Net Core We used to use OnException Methods to handle Exceptions while executing actions But it doesn't' see working in .Net Core as many features are changed.So In this Article we will see how to make exception handling work in Asp.Net Core.

Translate Page