summaryrefslogtreecommitdiff
path: root/contrib/utility/Utility/ExH/System/DescriptiveException.tpp
blob: 320216acc2e86b49f4cc5eb15f387b2129b0dda0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// file      : Utility/ExH/System/DescriptiveException.ipp
// author    : Boris Kolpackov <boris@kolpackov.net>
// copyright : Copyright (c) 2002-2003 Boris Kolpackov
// license   : http://kolpackov.net/license.html

#include "Utility/ExH/Converter.hpp"

namespace Utility
{
  namespace ExH
  {
    namespace System
    {
      template <typename T>
      inline DescriptiveException::
      DescriptiveException (T const& description) throw ()
      {
        init (converter<T> (description).c_str ());
      }
    }
  }
}
//$Id$