1 // file : cutl/exception.cxx 2 // copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC 3 // license : MIT; see accompanying LICENSE file 4 5 #include <typeinfo> 6 7 #include <cutl/exception.hxx> 8 9 namespace cutl 10 { 11 char const* exception:: what() const12 what () const LIBCUTL_NOTHROW_NOEXCEPT 13 { 14 return typeid (*this).name (); 15 } 16 } 17