HokuyoAIST  3.0.1
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.
 ParseError (ParseError const &rhs)
virtual char const *const line () const throw ()
virtual char const *const type () const throw ()
const char * what () throw ()
- Public Member Functions inherited from hokuyoaist::ProtocolError
 ProtocolError (unsigned int desc_code)
 Protocol error constructor.
 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.
 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.
 BaseError (BaseError const &rhs)
virtual ~BaseError () throw ()
virtual unsigned int desc_code () const throw ()
virtual char const * error_type () const throw ()

Protected Attributes

char line_ [128]
 The bad line.
char type_ [16]
 The type of line.

Detailed Description

Parse error.

Definition at line 423 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 433 of file hokuyo_errors.h.

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

Definition at line 436 of file hokuyo_errors.h.

const char* hokuyoaist::ParseError::what ( ) throw ()
virtual

Reimplemented from hokuyoaist::BaseError.

Member Data Documentation

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

The bad line.

Definition at line 443 of file hokuyo_errors.h.

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

The type of line.

Definition at line 445 of file hokuyo_errors.h.


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