Custom Checked and Unchecked Exception in Java with Examples Custom checked and unchecked exception in java What is Exception Handling? Exception is unwanted event that interrupts the normal flow of program. When Exception is occurs during program execution it gets terminated. Learn more in details about Exception and how to handle Exception :- What is Exception and Exception handling in Java with examples What is Custom Exception in Java? If we create our own Exception, then it is known as Custom Exception. Custom exception are also known as user-defined Exception, because it is defined by us. Why you need Custom Exception? You can provide your own exception message which can be easily understandable by client rather than java's exception message sometimes which may be hard to understand . If you need an exception type that isn't represented by those in the Java platform. If it help users if they could differentiate your exceptions from those thrown by classes written by
Welcome To Programming Tutorial. Here i share about Java Programming stuff. I share Java stuff with simple examples.