Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78976265
stl_exception.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Aug 24, 02:14
Size
217 B
Mime Type
text/x-c
Expires
Mon, Aug 26, 02:14 (2 d)
Engine
blob
Format
Raw Data
Handle
20130635
Attached To
R9360 PCSC_git
stl_exception.cpp
View Options
#include <exception>
#include <iostream>
void foo() { throw std::runtime_error("my message"); }
int main() {
try {
foo();
} catch (const std::runtime_error &e) {
std::cout << e.what() << std::endl;
}
}
Event Timeline
Log In to Comment