c++ std::exception "what()" message will always only print "std::exception" in a custom exception...

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=3IGW6_GWiJ8



Exception
Game:
Exception (2019)
Duration: 2:24
2 views
0


c++ std::exception "what()" message will always only print "std::exception" in a custom exception - why can't I get it to print the contents?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!

(stackoverflow.com/users/13523304/andy)Andy
(stackoverflow.com/users/7582247/ted-lyngmo)Ted Lyngmo
A special thanks goes out to the (https://stackoverflow.com/questions/76591164/c-stdexception-what-message-will-always-only-print-stdexception-in-a)Stackexchange community

I wish you all a wonderful day! Stay safe :)

object-slicing inheritance exception c++ c++98







Tags:
object-slicing
inheritance
exception
c++
c++98



Other Statistics

Exception Statistics For Peter Schneider

Currently, Peter Schneider has 156 views for Exception across 7 videos. Less than an hour worth of Exception videos were uploaded to his channel, less than 0.02% of the total video content that Peter Schneider has uploaded to YouTube.