TLELib  0.1.0
tlelib::tle_too_short_string Class Reference

The exception object, generated when the string is too short and the substring or a symbol cannot be taken from it at the given position. More...

#include <tleexception.h>

List of all members.

Public Member Functions

 tle_too_short_string (const std::string &line)
 Constructor.
virtual ~tle_too_short_string () throw ()
 Destructor.
std::string line () const throw ()
 Get a line, caused the exception.

Private Attributes

std::string m_line
 line for which the exception is actual

Detailed Description

The exception object, generated when the string is too short and the substring or a symbol cannot be taken from it at the given position.

Definition at line 40 of file tleexception.h.


Constructor & Destructor Documentation

tlelib::tle_too_short_string::tle_too_short_string ( const std::string &  line) [inline]

Constructor.

Parameters:
line- line, which is too short.

Definition at line 48 of file tleexception.h.

References line(), and m_line.

virtual tlelib::tle_too_short_string::~tle_too_short_string ( ) throw () [inline, virtual]

Destructor.

Definition at line 53 of file tleexception.h.


Member Function Documentation

std::string tlelib::tle_too_short_string::line ( ) const throw () [inline]

Get a line, caused the exception.

Returns:
The line, caused the exception.

Definition at line 58 of file tleexception.h.

References m_line.

Referenced by tle_too_short_string().


Member Data Documentation

std::string tlelib::tle_too_short_string::m_line [private]

line for which the exception is actual

Definition at line 42 of file tleexception.h.

Referenced by line(), and tle_too_short_string().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Defines