Advertisement



< Prev
Next >



Java - User Defined Exceptions





An exception is nothing but an object of an exception class. We can create our own exception in the following ways:
After creating our own exception class, we will be able to throw and catch our exception just as we throw and catch predefined checked/unchecked exceptions. Let's see how.




Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement