Tuesday, November 29, 2011

Explain the user defined Exceptions?

User defined Exceptions are the separate Exception classes defined by the user for specific purposed. An user defined can created by simply sub-classing it to the Exception class. This allows custom exceptions to be generated (using throw) and caught in the same way as normal exceptions.:for eg: :User defines exception are Exception Subclasses. It allows you to create your own exception types to handle situations specific to your application....
Category:Core Java Interview Questions

No comments:

Post a Comment