FREE::ControllerException Class Reference
[Exceptions]

Exception object for controller referring problems in f.r.e.e.. More...

#include <freExceptions.h>

Inheritance diagram for FREE::ControllerException:

Inheritance graph
FREE::ExceptionBase
[legend]
Collaboration diagram for FREE::ControllerException:

Collaboration graph
FREE::ExceptionBase
[legend]

List of all members.

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


Detailed Description

Exception object for controller referring problems in f.r.e.e..

ControllerException is an exception object for exceptions in the context of a controller.

Definition at line 138 of file freExceptions.h.


Constructor & Destructor Documentation

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.

Parameters:
[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.


Member Function Documentation

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.

Here is the call graph for this function:

FREE::ControllerException::GetNameOfClass


Member Data Documentation

std::string FREE::ControllerException::m_ControllerName [protected]

Definition at line 170 of file freExceptions.h.

Referenced by ControllerException(), and Print().


The documentation for this class was generated from the following files:
Generated at Sat Oct 13 18:17:26 2007 for f.r.e.e. - Flexible Registration and Evaluation Engine by doxygen 1.5.3 written by Dimitri van Heesch, © 1997-2000