LeechCraft 0.6.70-19214-g121e5318a7
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
inparallel.cpp
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#include "inparallel.h"
10#include <QtDebug>
11#include <util/sll/exceptions.h>
12#include "context.h"
13
14namespace LC::Util::detail
15{
17 {
18 try
19 {
20 throw;
21 }
22 catch (const ContextDeadException&)
23 {
24 // "normal" child coro death, nothing to do here
25 }
26 catch (...)
27 {
28 qWarning () << "dropping a subsequent exception:" << DescribeCurrentException ();
29 }
30 }
31}
void HandleSubsequentException()
QString DescribeCurrentException()
Describes the exception currently being handled.