Public Member Functions | Private Attributes | List of all members
lariov::WebError Class Reference

#include <WebError.h>

Inheritance diagram for lariov::WebError:

Public Member Functions

 WebError (std::string msg="")
 
virtual ~WebError () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

std::string _msg
 

Detailed Description

Definition at line 25 of file WebError.h.

Constructor & Destructor Documentation

lariov::WebError::WebError ( std::string  msg = "")
inline

Definition at line 29 of file WebError.h.

29  : std::exception()
30  {
31  _msg = "\033[93m";
32  _msg += msg;
33  _msg += "\033[00m";
34  }
void msg(const char *fmt,...)
Definition: message.cpp:107
std::string _msg
Definition: WebError.h:41
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
virtual lariov::WebError::~WebError ( )
throw (
)
inlinevirtual

Definition at line 36 of file WebError.h.

36 {};

Member Function Documentation

virtual const char* lariov::WebError::what ( void  ) const
throw (
)
inlinevirtual

Definition at line 37 of file WebError.h.

38  { return _msg.c_str(); }
std::string _msg
Definition: WebError.h:41

Member Data Documentation

std::string lariov::WebError::_msg
private

Definition at line 41 of file WebError.h.


The documentation for this class was generated from the following file: