Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
ProcessError Class Reference

#include <UtilExceptions.h>

Inheritance diagram for ProcessError:
[legend]
Collaboration diagram for ProcessError:
[legend]

Public Member Functions

const std::string & getTrace () const
 get trace
 
 ProcessError ()
 constructor
 
 ProcessError (const std::string &msg)
 parameter constructor
 

Private Member Functions

void processTrace ()
 process trace
 

Private Attributes

std::string myTrace
 exception trace
 

Detailed Description

ProcessError The base class for all exceptions in SUMO. The reason itself can either be reported before throwing the exception or in the message parameter.

Definition at line 39 of file UtilExceptions.h.

Constructor & Destructor Documentation

◆ ProcessError() [1/2]

ProcessError::ProcessError ( )

constructor

Definition at line 54 of file UtilExceptions.cpp.

References processTrace().

◆ ProcessError() [2/2]

ProcessError::ProcessError ( const std::string &  msg)

parameter constructor

Definition at line 61 of file UtilExceptions.cpp.

References processTrace().

Member Function Documentation

◆ getTrace()

const std::string & ProcessError::getTrace ( ) const

get trace

Definition at line 69 of file UtilExceptions.cpp.

References myTrace.

◆ processTrace()

void ProcessError::processTrace ( )
private

process trace

Definition at line 75 of file UtilExceptions.cpp.

References myTrace.

Referenced by ProcessError(), and ProcessError().

Here is the caller graph for this function:

Field Documentation

◆ myTrace

std::string ProcessError::myTrace
private

exception trace

Definition at line 53 of file UtilExceptions.h.

Referenced by getTrace(), and processTrace().


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