i6engine  1.0
i6e::utils::exceptions::i6exception Class Reference

Base type for custom exceptions. More...

#include <D:/Projekte/i6engine/libs/i6engine-utils/include/i6engine/utils/Exceptions.h>

Public Member Functions

ISIXE_UTILS_API void writeLog ()
 Writes the exception's logmessage. More...
 
ISIXE_UTILS_API int getErrorcode ()
 Returns the exception's errorcode or -1 if no errorcode is present. More...
 
virtual ISIXE_UTILS_API const char * what () const override throw ()
 Overrides std::exception method to output message to console. More...
 

Protected Member Functions

 i6exception (const LogLevel loglevel, const std::string &logmodule, const std::string &logmsg, const std::string &file, const uint16_t line)
 

Detailed Description

Base type for custom exceptions.

Base type for custom exceptions.

Definition at line 99 of file Exceptions.h.

Constructor & Destructor Documentation

i6e::utils::exceptions::i6exception::i6exception ( const LogLevel  loglevel,
const std::string &  logmodule,
const std::string &  logmsg,
const std::string &  file,
const uint16_t  line 
)
protected

Member Function Documentation

ISIXE_UTILS_API int i6e::utils::exceptions::i6exception::getErrorcode ( )

Returns the exception's errorcode or -1 if no errorcode is present.

virtual ISIXE_UTILS_API const char* i6e::utils::exceptions::i6exception::what ( ) const
throw (
)
overridevirtual

Overrides std::exception method to output message to console.

ISIXE_UTILS_API void i6e::utils::exceptions::i6exception::writeLog ( )

Writes the exception's logmessage.


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