aboutsummaryrefslogtreecommitdiff
path: root/cutl/exception.hxx
blob: 242057b4f485ad13ba7bb72f00a6ae5a5c4c1800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// file      : cutl/exception.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009 Code Synthesis Tools CC
// license   : MIT; see accompanying LICENSE file

#ifndef CUTL_EXCEPTION_HXX
#define CUTL_EXCEPTION_HXX

#include <exception>

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

#endif // CUTL_EXCEPTION_HXX