Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class myexception1
- {
- public:
- myexception1()
- {};
- }
- class myexception2
- {
- public:
- myexception2()
- {
- throw myexception1();
- };
- }
- function test()
- {
- try
- {
- throw myexception2();
- }
- catch (...)
- {
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement