blob: 3fa6e5f014321375757954fb16c82945cf638209 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// file : cult/sched/exception.hxx
// author : Boris Kolpackov <boris@kolpackov.net>
// copyright : Copyright (c) 2005-2010 Boris Kolpackov
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef CULT_SCHED_EXCEPTION_HXX
#define CULT_SCHED_EXCEPTION_HXX
#include <cult/types/fundamental.hxx>
#include <cult/eh/exception.hxx>
#include <cult/os/exception.hxx>
namespace Cult
{
namespace Sched
{
struct Exception: virtual EH::Exception {};
struct Implementation: virtual Exception, virtual OS::Exception
{
Implementation (Int code) throw ()
: OS::Exception (code)
{
}
};
}
}
#endif // CULT_SCHED_EXCEPTION_HXX
|