Public Member Functions | Private Attributes
Common::Error Class Reference

#include <exception.h>

List of all members.

Public Member Functions

ErrorAddError (const Error &subError)
 Error ()
 Exception class realization GNU LGPL.
 Error (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg)
unsigned GetCode () const
std::string GetFileName () const
std::string GetFullMessage () const
unsigned GetLineNum () const
std::string GetMessage () const
virtual const char * what () const throw ()
virtual ~Error () throw ()

Private Attributes

unsigned Code
std::string FileName
std::string FullMessage
unsigned LineNum
std::string Message
std::vector< ErrorSubErrors

Detailed Description

Definition at line 42 of file exception.h.


Constructor & Destructor Documentation

Exception class realization GNU LGPL.

Author:
Alexander Rykovanov 2011 rykovanov.as@gmail.com Distributed under the GNU LGPL License (See accompanying file LICENSE or copy at http://www.gnu.org/licenses/lgpl.html)

Definition at line 13 of file exception.cpp.

Common::Error::Error ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg 
) [explicit]

Definition at line 21 of file exception.cpp.

Common::Error::~Error ( ) throw () [virtual]

Definition at line 29 of file exception.cpp.


Member Function Documentation

Common::Error & Common::Error::AddError ( const Error subError)

Definition at line 53 of file exception.cpp.

unsigned Common::Error::GetCode ( ) const

Definition at line 43 of file exception.cpp.

std::string Common::Error::GetFileName ( ) const

Definition at line 38 of file exception.cpp.

std::string Common::Error::GetFullMessage ( ) const

Definition at line 59 of file exception.cpp.

unsigned Common::Error::GetLineNum ( ) const

Definition at line 33 of file exception.cpp.

std::string Common::Error::GetMessage ( ) const

Definition at line 48 of file exception.cpp.

const char * Common::Error::what ( ) const throw () [virtual]

Definition at line 74 of file exception.cpp.


Member Data Documentation

unsigned Common::Error::Code [private]

Definition at line 63 of file exception.h.

std::string Common::Error::FileName [private]

Definition at line 62 of file exception.h.

std::string Common::Error::FullMessage [mutable, private]

Definition at line 65 of file exception.h.

unsigned Common::Error::LineNum [private]

Definition at line 61 of file exception.h.

std::string Common::Error::Message [private]

Definition at line 64 of file exception.h.

std::vector<Error> Common::Error::SubErrors [private]

Definition at line 66 of file exception.h.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:24:59