Public Member Functions | Protected Attributes | List of all members
astra_wrapper::AstraException Class Reference

General exception class. More...

#include <astra_exception.h>

Inheritance diagram for astra_wrapper::AstraException:
Inheritance graph
[legend]

Public Member Functions

 AstraException (const std::string &function_name, const std::string &file_name, unsigned line_number, const std::string &message)
 
const std::string & getFileName () const
 
const std::string & getFunctionName () const
 
unsigned getLineNumber () const
 
AstraExceptionoperator= (const AstraException &exception)
 
virtual const char * what () const throw ()
 
virtual ~AstraException () throw ()
 

Protected Attributes

std::string file_name_
 
std::string function_name_
 
unsigned line_number_
 
std::string message_
 
std::string message_long_
 

Detailed Description

General exception class.

Author
Suat Gedikli
Date
02.january 2011

Definition at line 58 of file astra_exception.h.

Constructor & Destructor Documentation

astra_wrapper::AstraException::AstraException ( const std::string &  function_name,
const std::string &  file_name,
unsigned  line_number,
const std::string &  message 
)

Definition at line 44 of file astra_exception.cpp.

astra_wrapper::AstraException::~AstraException ( )
throw (
)
virtual

Definition at line 55 of file astra_exception.cpp.

Member Function Documentation

const std::string & astra_wrapper::AstraException::getFileName ( ) const

Definition at line 75 of file astra_exception.cpp.

const std::string & astra_wrapper::AstraException::getFunctionName ( ) const

Definition at line 70 of file astra_exception.cpp.

unsigned astra_wrapper::AstraException::getLineNumber ( ) const

Definition at line 80 of file astra_exception.cpp.

AstraException & astra_wrapper::AstraException::operator= ( const AstraException exception)

Definition at line 59 of file astra_exception.cpp.

const char * astra_wrapper::AstraException::what ( ) const
throw (
)
virtual

Definition at line 65 of file astra_exception.cpp.

Member Data Documentation

std::string astra_wrapper::AstraException::file_name_
protected

Definition at line 76 of file astra_exception.h.

std::string astra_wrapper::AstraException::function_name_
protected

Definition at line 75 of file astra_exception.h.

unsigned astra_wrapper::AstraException::line_number_
protected

Definition at line 77 of file astra_exception.h.

std::string astra_wrapper::AstraException::message_
protected

Definition at line 78 of file astra_exception.h.

std::string astra_wrapper::AstraException::message_long_
protected

Definition at line 79 of file astra_exception.h.


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


astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34