Stan  2.10.0
probability, sampling & optimization
Classes | Namespaces | Functions
rethrow_located.hpp File Reference
#include <exception>
#include <ios>
#include <new>
#include <sstream>
#include <stdexcept>
#include <string>
#include <typeinfo>

Go to the source code of this file.

Classes

struct  stan::lang::located_exception< E >
 Structure for a located exception for standard library exception types that have no what-based constructors. More...
 

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::lang
 

Functions

template<typename E >
bool stan::lang::is_type (const std::exception &e)
 Returns true if the specified exception can be dynamically cast to the template parameter type. More...
 
void stan::lang::rethrow_located (const std::exception &e, int line)
 Rethrow an exception of type specified by the dynamic type of the specified exception, adding the specified line number to the specified exception's message. More...
 

     [ Stan Home Page ] © 2011–2016, Stan Development Team.