If I Want An Object Of My Class To Be Thrown As An Exception Object, What Should I Do

If I Want An Object Of My Class To Be Thrown As An Exception Object, What Should I Do


  • 29 Dec, 2011

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

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.