jubatus_core  0.1.2
Jubatus: Online machine learning framework for distributed environment
Public Member Functions | Private Attributes | List of all members
jubatus::core::common::jsonconfig::config_error Class Reference

#include <exception.hpp>

Inheritance diagram for jubatus::core::common::jsonconfig::config_error:
Inheritance graph
Collaboration diagram for jubatus::core::common::jsonconfig::config_error:
Collaboration graph

Public Member Functions

 config_error (const std::string &path, const std::string &message)
 
const std::string & path () const
 
const char * what () const throw ()
 
 ~config_error () throw ()
 
- Public Member Functions inherited from jubatus::core::common::exception::jubaexception< config_error >
void bind_thrower (exception_thrower_ptr thrower) const
 
 jubaexception ()
 
exception_thrower_ptr thrower () const
 
virtual ~jubaexception () throw ()
 
- Public Member Functions inherited from jubatus::core::common::exception::jubatus_exception
std::string diagnostic_information (bool display_what=false) const
 
error_info_list_t error_info () const
 
 jubatus_exception () throw ()
 
std::string name () const throw ()
 
virtual ~jubatus_exception () throw ()
 

Private Attributes

const std::string message_
 
const std::string path_
 

Detailed Description

Definition at line 35 of file exception.hpp.

Constructor & Destructor Documentation

jubatus::core::common::jsonconfig::config_error::config_error ( const std::string &  path,
const std::string &  message 
)

Definition at line 30 of file exception.cpp.

31  : path_(path),
32  message_(message + " (" + path_ + ")") {
33 }
jubatus::core::common::jsonconfig::config_error::~config_error ( )
throw (
)

Definition at line 35 of file exception.cpp.

35  {
36 }

Member Function Documentation

const std::string& jubatus::core::common::jsonconfig::config_error::path ( ) const
inline

Definition at line 41 of file exception.hpp.

References path_.

41  {
42  return path_;
43  }
const char* jubatus::core::common::jsonconfig::config_error::what ( ) const
throw (
)
inlinevirtual

Reimplemented from jubatus::core::common::exception::jubatus_exception.

Definition at line 45 of file exception.hpp.

References message_.

45  {
46  return message_.c_str();
47  }

Member Data Documentation

const std::string jubatus::core::common::jsonconfig::config_error::message_
private

Definition at line 51 of file exception.hpp.

Referenced by what().

const std::string jubatus::core::common::jsonconfig::config_error::path_
private

Definition at line 50 of file exception.hpp.

Referenced by path().


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