KyaPoocha.com

Huge Collection of Interview Questions


If I want an object of my class to be thrown as an exception object, what should I do ? 

The class should extend from Exception class. Or you can extend your class from some more precise exception type also.



If you liked this question/asnwer, make sure you
Subscribe to KyaPoocha.com RSS feed!


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |