#include <freExceptions.h>


Public Member Functions | |
| virtual const char * | GetNameOfClass () const |
| virtual void | Print (std::ostream &os, bool brief=false) const |
| ControllerException (const ControllerException &rExcBase) | |
| ControllerException (const std::string &sOriginCode, const std::string &sControllerName="unknown controller", const std::string &sError="unspecified error reason", const std::string &sLocation="unknown location", const std::string &sFile="unspecified file", const unsigned int iLine=-1) | |
| virtual | ~ControllerException () throw () |
Protected Attributes | |
| std::string | m_ControllerName |
ControllerException is an exception object for exceptions in the context of a controller.
Definition at line 138 of file freExceptions.h.
| FREE::ControllerException::ControllerException | ( | const ControllerException & | rExcBase | ) |
Copyconstructor of the class
Definition at line 220 of file freExceptions.cxx.
References m_ControllerName.
| FREE::ControllerException::ControllerException | ( | const std::string & | sOriginCode, | |
| const std::string & | sControllerName = "unknown controller", |
|||
| const std::string & | sError = "unspecified error reason", |
|||
| const std::string & | sLocation = "unknown location", |
|||
| const std::string & | sFile = "unspecified file", |
|||
| const unsigned int | iLine = -1 | |||
| ) |
Constructor for the exception base class. Passing all needed Information. The origin code must always be specified, the others can be left undefined, but this isn't recommended.
| [in] | sOriginCode | The OriginCode of this exception. |
| [in] | sControllerName | Name of the Controller, who was involved in the Exception. |
| [in] | sError | Error reason/message of the exception. |
| [in] | iLine | Line in the code, where the Exception has been thrown. |
| [in] | sFile | Name of the file, where the Exception has been thrown. |
Definition at line 210 of file freExceptions.cxx.
References m_ControllerName.
| FREE::ControllerException::~ControllerException | ( | ) | throw () [virtual] |
Definition at line 226 of file freExceptions.cxx.
| virtual const char* FREE::ControllerException::GetNameOfClass | ( | ) | const [inline, virtual] |
Reimplemented from FREE::ExceptionBase.
Definition at line 141 of file freExceptions.h.
Referenced by Print().
| void FREE::ControllerException::Print | ( | std::ostream & | os, | |
| bool | brief = false | |||
| ) | const [virtual] |
Print exception information. This method can be overridden by specific exception subtypes. The default is to print out the location where the exception was first thrown and any description provided by the ``thrower''.
Implementation of FREE::ControllerException ////////////////////////
Reimplemented from FREE::ExceptionBase.
Definition at line 155 of file freExceptions.cxx.
References GetNameOfClass(), m_ControllerName, FREE::ExceptionBase::m_ErrorCode, and FREE::ExceptionBase::m_TrackedLocations.

std::string FREE::ControllerException::m_ControllerName [protected] |
1.5.3 written by Dimitri van Heesch,
© 1997-2000