Eclipse SUMO - Simulation of Urban MObility
zstr::Exception Class Reference

Exception class thrown by failed zlib operations. More...

#include <zstr.hpp>

Inheritance diagram for zstr::Exception:
Collaboration diagram for zstr::Exception:

Public Member Functions

 Exception (z_stream *zstrm_p, int ret)
 
 Exception (const std::string msg)
 
const char * what () const NOEXCEPT
 

Private Attributes

std::string _msg
 

Detailed Description

Exception class thrown by failed zlib operations.

Definition at line 22 of file zstr.hpp.

Constructor & Destructor Documentation

◆ Exception() [1/2]

zstr::Exception::Exception ( z_stream *  zstrm_p,
int  ret 
)
inline

◆ Exception() [2/2]

zstr::Exception::Exception ( const std::string  msg)
inline

Definition at line 54 of file zstr.hpp.

Member Function Documentation

◆ what()

const char* zstr::Exception::what ( ) const
inline

Definition at line 55 of file zstr.hpp.

References _msg.

Referenced by OutputDevice_File::OutputDevice_File().

Field Documentation

◆ _msg

std::string zstr::Exception::_msg
private

Definition at line 57 of file zstr.hpp.

Referenced by Exception(), and what().


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