aboutsummaryrefslogtreecommitdiff
path: root/cutl/exception.hxx
blob: 700e6427e5ea64d54832a2916786cc1988dc6a2c (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
// file      : cutl/exception.hxx
// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
// license   : MIT; see accompanying LICENSE file

#ifndef CUTL_EXCEPTION_HXX
#define CUTL_EXCEPTION_HXX

#include <exception>

#include <cutl/details/config.hxx>
#include <cutl/details/export.hxx>

namespace cutl
{
  struct LIBCUTL_EXPORT exception: std::exception
  {
    // By default return the exception type name ( typeid (*this).name () ).
    //
    virtual char const*
    what () const LIBCUTL_NOTHROW_NOEXCEPT;
  };
}

#endif // CUTL_EXCEPTION_HXX