HokuyoAIST  3.0.2
Public Member Functions | Protected Attributes | List of all members
hokuyoaist::ParseError Class Reference

Parse error. More...

#include <hokuyoaist/hokuyo_errors.h>

Inheritance diagram for hokuyoaist::ParseError:
Inheritance graph
[legend]
Collaboration diagram for hokuyoaist::ParseError:
Collaboration graph
[legend]

Public Member Functions

 ParseError (char const *const line, char const *const type)
 Parse error constructor. More...
 
 ParseError (ParseError const &rhs)
 
virtual char const *const line () const throw ()
 
virtual char const *const type () const throw ()
 
- Public Member Functions inherited from hokuyoaist::ProtocolError
 ProtocolError (unsigned int desc_code)
 Protocol error constructor. More...
 
 ProtocolError (unsigned int desc_code, char const *error_type)
 
virtual ~ProtocolError () throw ()
 
- Public Member Functions inherited from hokuyoaist::RuntimeError
 RuntimeError (unsigned int desc_code)
 Runtime error constructor. More...
 
 RuntimeError (unsigned int desc_code, char const *error_type)
 
virtual ~RuntimeError () throw ()
 
- Public Member Functions inherited from hokuyoaist::BaseError
 BaseError (unsigned int desc_code, char const *error_type)
 Hokuyo error constructor. More...
 
 BaseError (BaseError const &rhs)
 
virtual ~BaseError () throw ()
 
virtual unsigned int desc_code () const throw ()
 
virtual char const * error_type () const throw ()
 
virtual const char * what () const throw ()
 

Protected Attributes

char line_ [128]
 The bad line. More...
 
char type_ [16]
 The type of line. More...
 
- Protected Attributes inherited from hokuyoaist::BaseError
unsigned int desc_code_
 Description code for use with the error string table. More...
 
std::string error_str_
 Formatted description of the error. More...
 
char error_type_ [32]
 String representation of the error. More...
 

Detailed Description

Parse error.

Definition at line 410 of file hokuyo_errors.h.

Constructor & Destructor Documentation

hokuyoaist::ParseError::ParseError ( char const *const  line,
char const *const  type 
)

Parse error constructor.

Parameters
lineThe line that could not be parsed.
typeThe type of line that was expected.
hokuyoaist::ParseError::ParseError ( ParseError const &  rhs)

Member Function Documentation

virtual char const* const hokuyoaist::ParseError::line ( ) const
throw (
)
inlinevirtual

Definition at line 420 of file hokuyo_errors.h.

virtual char const* const hokuyoaist::ParseError::type ( ) const
throw (
)
inlinevirtual

Definition at line 423 of file hokuyo_errors.h.

Member Data Documentation

char hokuyoaist::ParseError::line_[128]
protected

The bad line.

Definition at line 428 of file hokuyo_errors.h.

char hokuyoaist::ParseError::type_[16]
protected

The type of line.

Definition at line 430 of file hokuyo_errors.h.


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