+ 2
What are custom exceptions??
3 Réponses
+ 3
@gowri why you always post a thread then explain answer yourself?
+ 1
C doesn't have exceptions, unless you implement them. In which case, they would all be custom.
0
in c++ you can inherit from exception class and you can overwrite the virtual method "what" (write your own information about the exception"), the when an exception is catched by try catch sentence, the information of the exception can be obtained by call the method what.
www.cplusplus.com/doc/tutorial/exception/
topic: standard exceptions