Class to ease exception creation. More...
#include <hpp/util/exception-factory.hh>
Public Member Functions | |
template<typename T > | |
internal::conditional_insertion_operator <exception, T >::type | operator<< (const T &t) |
Public Attributes | |
std::stringstream | ss |
Class to ease exception creation.
You can use equivalently
throw ::hpp::ExceptionFactory<std::runtime_error>() << "message" << variable << ::hpp::ThrowException();
or
HPP_THROW(std::runtime_error>, "message" << variable);
internal::conditional_insertion_operator<exception, T>::type hpp::ExceptionFactory< exception >::operator<< | ( | const T & | t | ) | [inline] |
std::stringstream hpp::ExceptionFactory< exception >::ss |