7#ifndef HIGHLIGHTBUILDEREXCEPTION_H_
8#define HIGHLIGHTBUILDEREXCEPTION_H_
11#include <boost/regex/pattern_except.hpp>
18struct HighlightBuilderException :
public std::exception {
31 HighlightBuilderException(
const std::string &_message,
33 const boost::regex_error &e = boost::regex_error(boost::regex_constants::error_bad_pattern));
34 HighlightBuilderException(
const std::string &_message,
36 const boost::regex_error &e = boost::regex_error(boost::regex_constants::error_bad_pattern));
37 virtual ~HighlightBuilderException() throw();
39 virtual const
char* what ( ) const throw () ;
42std::ostream& operator<<(std::ostream& os, const HighlightBuilderException &entry);
C++ class: doctemplate.h.
Definition bufferedoutput.cpp:13
unsigned int line
line of the element that caused this exception
Definition highlightbuilderexception.h:29
std::string message
detailed message for this exception
Definition highlightbuilderexception.h:20
std::string filename
filename of the element that caused this exception
Definition highlightbuilderexception.h:26
boost::regex_error causedBy
possible exception that caused this one
Definition highlightbuilderexception.h:23
Stores information about the file name and the line number of a generic element created during parsin...
Definition parserinfo.h:23