Thunderbots Project
Loading...
Searching...
No Matches
tbots_network_exception.h
1
#pragma once
2
3
#include <string>
4
5
class
TbotsNetworkException
:
public
std::exception
6
{
7
public
:
13
TbotsNetworkException
(
const
std::string& message) : message(message) {}
14
15
virtual
const
char
* what() const noexcept override;
16
17
private:
18
std::
string
message;
// Explanation of the exception
19
};
TbotsNetworkException
Definition
tbots_network_exception.h:6
TbotsNetworkException::TbotsNetworkException
TbotsNetworkException(const std::string &message)
Definition
tbots_network_exception.h:13
src
software
networking
tbots_network_exception.h
Generated by
1.9.8