openETCS
case study for the European Train Control System developed for the authors dissertation
Public Member Functions | List of all members
oETCS::GEN::Error::CParameter Class Reference

exception type for erronous parameters More...

#include <ExceptionTypes.h>

Inheritance diagram for oETCS::GEN::Error::CParameter:
Inheritance graph
Collaboration diagram for oETCS::GEN::Error::CParameter:
Collaboration graph

Public Member Functions

 CParameter (const ::std::string &Message="") throw ()
 default/general constructor
::std::string GetMessage () const throw ()
 gets optional error message
virtual const char * what () const throw ()
 gets exeption message

Detailed Description

exception type for erronous parameters

Definition at line 111 of file oETCS/GEN/Error/ExceptionTypes.h.

Constructor & Destructor Documentation

oETCS::GEN::Error::CParameter::CParameter ( const ::std::string &  Message = "") throw ()

default/general constructor

Parameters
[in]Messageoprional literal exception description

Definition at line 91 of file oETCS/GEN/Error/ExceptionTypes.cpp.

Member Function Documentation

std::string oETCS::GEN::Error::CException::GetMessage ( ) const throw ()
inherited

gets optional error message

Returns
error message

Definition at line 71 of file oETCS/GEN/Error/ExceptionTypes.cpp.

References oETCS::GEN::Error::CException::m_Message.

const char * oETCS::GEN::Error::CException::what ( ) const throw ()
virtualinherited

gets exeption message

Gets the exeption message, implemented for the base type std::exception.

Definition at line 79 of file oETCS/GEN/Error/ExceptionTypes.cpp.

References oETCS::GEN::Error::CException::m_Message.


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

Copyright (C) 2010-2012 Johannes Feuser (feuser@uni-bremen.de)
The openETCS library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
The openETCS library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the openETCS library. If not, see "http://www.gnu.org/licenses/.