SO3::SException Class Reference

Base class for SO3 custom exception. More...

#include <SO3Exception.h>

Inheritance diagram for SO3::SException:
SO3::SExceptionBadCast SO3::SExceptionExternalAPIError SO3::SExceptionFileNotFound SO3::SExceptionInternalError SO3::SExceptionInvalidParameters SO3::SExceptionIO SO3::SExceptionItemIdentity SO3::SExceptionItemNotFound SO3::SExceptionNullReference SO3::SExceptionOutOfBound SO3::SExceptionReadData SO3::SExceptionReadOnly SO3::SExceptionUnimplemented SO3::SExceptionWriteData SO3::SExceptionWriteOnly

List of all members.

Public Member Functions

 SException (const std::string &exceptDescription, const std::string &exceptSource, bool exceptToLogFile)
 SException (const std::string &exceptDescription, const std::string &exceptSource, const char *exceptType, const char *exceptFile, long exceptLine, bool exceptToLogFile)
 SException (const SException &exception)
 ~SException () throw ()
void operator= (const SException &exception)
virtual const std::string & GetFullDescription () const
virtual const std::string & GetSource () const
virtual const std::string & GetFile () const
virtual long GetLine () const
virtual const std::string & GetDescription () const
const char * what () const throw ()

Protected Attributes

long line
std::string typeName
std::string description
std::string source
std::string file
bool toLogFile
std::string fullDesc

Detailed Description

Base class for SO3 custom exception.

Definition at line 39 of file SO3Exception.h.


Constructor & Destructor Documentation

SO3::SException::SException ( const std::string &  exceptDescription,
const std::string &  exceptSource,
bool  exceptToLogFile 
)

Constructor.

Definition at line 31 of file SO3Exception.cpp.

SO3::SException::SException ( const std::string &  exceptDescription,
const std::string &  exceptSource,
const char *  exceptType,
const char *  exceptFile,
long  exceptLine,
bool  exceptToLogFile 
)

Constructor.

Definition at line 40 of file SO3Exception.cpp.

SO3::SException::SException ( const SException exception  ) 

Copy constructor.

Definition at line 51 of file SO3Exception.cpp.

SO3::SException::~SException (  )  throw ()

Destructor.

Definition at line 60 of file SO3Exception.cpp.


Member Function Documentation

const std::string & SO3::SException::GetDescription (  )  const [virtual]

Definition at line 106 of file SO3Exception.cpp.

const std::string & SO3::SException::GetFile (  )  const [virtual]

Definition at line 96 of file SO3Exception.cpp.

const std::string & SO3::SException::GetFullDescription (  )  const [virtual]

Definition at line 74 of file SO3Exception.cpp.

long SO3::SException::GetLine (  )  const [virtual]

Definition at line 101 of file SO3Exception.cpp.

const std::string & SO3::SException::GetSource (  )  const [virtual]

Definition at line 91 of file SO3Exception.cpp.

void SO3::SException::operator= ( const SException exception  ) 

Definition at line 64 of file SO3Exception.cpp.

const char * SO3::SException::what (  )  const throw ()

Definition at line 111 of file SO3Exception.cpp.


Member Data Documentation

std::string SO3::SException::description [protected]

Definition at line 45 of file SO3Exception.h.

std::string SO3::SException::file [protected]

Definition at line 47 of file SO3Exception.h.

std::string SO3::SException::fullDesc [mutable, protected]

Definition at line 49 of file SO3Exception.h.

long SO3::SException::line [protected]

Definition at line 43 of file SO3Exception.h.

std::string SO3::SException::source [protected]

Definition at line 46 of file SO3Exception.h.

bool SO3::SException::toLogFile [protected]

Definition at line 48 of file SO3Exception.h.

std::string SO3::SException::typeName [protected]

Definition at line 44 of file SO3Exception.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:39 2011 for SO3Engine by  doxygen 1.6.3