Latest Posts Under: Exception


how to create custom checked exception – We can create our own exceptions by extending ‘Exception’ class. Below example will show you how to create custom exception by extending Exception class. It is a checked […]

Create custom unchecked exception in Java – You can create custom unchecked exception when you want to propagate certain exception handling responsibility to the caller method rather than handling it in place where exception is […]

Scroll To Top