+ 2

What are custom exceptions??

4th Apr 2018, 4:30 PM
gowri
gowri - avatar
3 Respuestas
+ 3
@gowri why you always post a thread then explain answer yourself?
5th Apr 2018, 5:08 AM
Ipang
+ 1
C doesn't have exceptions, unless you implement them. In which case, they would all be custom.
4th Apr 2018, 9:13 PM
John Wells
John Wells - avatar
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
4th Apr 2018, 9:15 PM
Erick Tornero
Erick Tornero - avatar