Jyotiprakash Mishrablog.jyotiprakash.org·Dec 18, 2024Java Exception HandlingWhat is an Exception? In Java, an exception is an unexpected event or error that occurs during the execution of a program, disrupting its normal flow. Exceptions arise when the program encounters a condition it cannot handle, such as invalid user inp...exceptions
Mark Pelfmarkpelf.hashnode.dev·Oct 24, 2024.NET8/EF8 - Exception: Microsoft.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near '$NET8/EF8 Breaking Change. Old servers/databases might not understand queries from EF8. Abstract: In .NET8/EF8 when working with SQL Server, EF might create newer version SQL queries that old SQL servers/databases will not understand and will con...C#ef8
chaitanyachaitu.hashnode.dev·Aug 23, 2024Dealing with Null Reference ExceptionsIf you are a software Engineer, you might have come accross this error "Object reference not set to an instance of an object". Then you might have asked what does this even mean? let's understand what this error means. For suppose check this below ps...46 readsObject refernece not set to an instance of an object
Asesh Basuabasu.hashnode.dev·Jul 6, 2024Java Exceptions Explained: Origin, Purpose, and Mechanism (Part-1 of JAVA SE Exceptions Series)TL;DR: Explore the evolution of Java exceptions from historical interrupts to modern handling techniques. Learn about types like StackOverflowError, OutOfMemoryError, and how to handle them effectively in your Java applications. History The notion of...JAVA - Exceptionsexceptions
Ahmed Abdelaalahmedabdelaal.hashnode.dev·Apr 29, 2024Custom Error Pages in LaravelLaravel makes it easy to display custom error pages for various HTTP status codes. For example, to customize the error page for 404 HTTP status codes, create a resources/views/errors/404.blade.php view template. This view will be rendered for all 404...10 likes·82 readsLaravel
Srisrip.hashnode.dev·Apr 24, 2024A Beginner's Guide to Arrays in Data StructuresArrays are one of the fundamental data structures, serving as the building blocks for many algorithms and applications. Let's dive into the world of arrays and understand their significance, operations, and applications! 🚀 What is an Array exactly ?...arrayIndexOutOfBoundException
decpkdecpk.hashnode.dev·Mar 18, 2024How to type an error in try-catch blockTL;DR: TypeScript catch clause variables can now be typed as unknown for better type safety since version 4.0.Try-catch blocks are used to handle exceptions. Before TypeScript 4.0, the catch clause variable was typed as any, which meant it could be a...JavaScript
Abdullah Bin Altafdevopswithabdullah.hashnode.dev·Feb 18, 2024Lecture # 10 - Error Handling with Try-ExceptTry/Except: In Python, the try and except blocks are used for exception handling, allowing you to gracefully handle errors or exceptions that occur during program execution. try Block: The try block lets you test a block of code for errors. except Bl...Devops
Ever A. Olanoabyteortwo.com·Feb 6, 2024Catching Exceptions in Unit TestsThis was quite serendipitous as I was just about to start looking for a blog topic that started with the letter "C". It just fell on my lap today while reviewing someone else's pull request, particularly their unit tests. This is specifically about J...junit
MUKUL JHAmukuljha.hashnode.dev·Jan 12, 2024Exception Handling with Method Overriding in JavaMethod Overriding: Method overriding is a feature that allows a subclass or child class to provide a specific implementation of a superclass method that is already provided by one of its superclass or parent classes. interface Animal { String nam...Java