1#ifndef HDNUM_EXCEPTIONS_HH 
    2#define HDNUM_EXCEPTIONS_HH 
   38        const std::string& 
what() 
const;          
 
 
   61#ifdef HDNUM_DEVEL_MODE 
   62# define THROWSPEC(E) #E << " [" << __func__ << ":" << __FILE__ << ":" << __LINE__ << "]: " 
   64# define THROWSPEC(E) #E << ": " 
   86#define HDNUM_THROW(E, m) do { E th__ex; std::ostringstream th__out;            \ 
   87        th__out << THROWSPEC(E) << m; th__ex.message(th__out.str()); throw th__ex; \ 
 
  156#define HDNUM_ERROR(m) do { hdnum::ErrorException th__ex; std::ostringstream th__out;           \ 
  157        th__out << THROWSPEC(hdnum::ErrorException) << m; \ 
  158        th__ex.message(th__out.str()); \ 
  159        std::cout << th__ex.what() << std::endl; \ 
Class with mathematical matrix operations.
Definition densematrix.hh:33
 
General Error.
Definition exceptions.hh:153
 
Base class for Exceptions.
Definition exceptions.hh:35
 
void message(const std::string &message)
store string in internal message buffer
Definition exceptions.hh:43
 
const std::string & what() const
output internal message buffer
Definition exceptions.hh:48
 
Default exception class for I/O errors.
Definition exceptions.hh:99
 
Default exception if a function was called while the object is not in a valid state for that function...
Definition exceptions.hh:149
 
Default exception class for mathematical errors.
Definition exceptions.hh:109
 
Default exception for dummy implementations.
Definition exceptions.hh:131
 
Default exception if memory allocation fails.
Definition exceptions.hh:144
 
Default exception class for range errors.
Definition exceptions.hh:122
 
Default exception class for OS errors.
Definition exceptions.hh:139