In this article we will learn how to create user defined exceptions (own exceptions) and how to use them in Java programs. This article is a part of our core java tutorial for beginners. Although Java provides several pre-defined exception classes, sometimes we might need to create our own exceptions which are also called […]
