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::out_of_range Class Reference

#include <exception.hpp>

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

Public Member Functions

 out_of_range (const std::string &path, size_t size, size_t index)
 
size_t position () const
 
size_t size () const
 
 ~out_of_range () throw ()
 
- Public Member Functions inherited from jubatus::core::common::jsonconfig::config_error
 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

size_t index_
 
size_t size_
 

Detailed Description

Definition at line 76 of file exception.hpp.

Constructor & Destructor Documentation

jubatus::core::common::jsonconfig::out_of_range::out_of_range ( const std::string &  path,
size_t  size,
size_t  index 
)

Definition at line 96 of file exception.cpp.

97  : config_error(path, MakeOutOfRangeMessage(size, index)),
98  size_(size),
99  index_(index) {
100 }
config_error(const std::string &path, const std::string &message)
Definition: exception.cpp:30
jubatus::core::common::jsonconfig::out_of_range::~out_of_range ( )
throw (
)

Definition at line 102 of file exception.cpp.

102  {
103 }

Member Function Documentation

size_t jubatus::core::common::jsonconfig::out_of_range::position ( ) const
inline

Definition at line 86 of file exception.hpp.

References index_.

86  {
87  return index_;
88  }
size_t jubatus::core::common::jsonconfig::out_of_range::size ( ) const
inline

Definition at line 82 of file exception.hpp.

References size_.

82  {
83  return size_;
84  }

Member Data Documentation

size_t jubatus::core::common::jsonconfig::out_of_range::index_
private

Definition at line 92 of file exception.hpp.

Referenced by position().

size_t jubatus::core::common::jsonconfig::out_of_range::size_
private

Definition at line 91 of file exception.hpp.

Referenced by size().


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