Atlas 0.7.0
Networking protocol for the Worldforge system.
Atlas::Exception Class Reference

#include <Exception.h>

Inheritance diagram for Atlas::Exception:
Collaboration diagram for Atlas::Exception:

Public Member Functions

 Exception (const std::string &d="UNKNOWN ERROR") noexcept
 
std::string getDescription () const
 

Detailed Description

Base class for all exceptions thrown by Atlas-C++. All subclasses should pass in a description of the exceptional circumstance encountered.

Definition at line 17 of file Exception.h.

Constructor & Destructor Documentation

◆ Exception()

Atlas::Exception::Exception ( const std::string &  d = "UNKNOWN ERROR")
inlineexplicitnoexcept

Definition at line 21 of file Exception.h.

Member Function Documentation

◆ getDescription()

std::string Atlas::Exception::getDescription ( ) const
inline

Definition at line 26 of file Exception.h.


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