class Gambit::Piped_exceptions

Gambit piped error class.

#include <exceptions.hpp>

Public Types

Name
typedef std::pair< std::string, std::string >description

Public Functions

Name
Piped_exceptions(size_t maxExceptions)
Constructor.
voidrequest(std::string origin, std::string message)
Request an exception.
voidrequest(description desc)
Request a piped exception.
voidcheck(exception & excep)
Check whether any exceptions were requested, and raise them.
boolinquire()
Check whether any exceptions were requested without handling them.
boolinquire(std::string message)
Check whether any exceptions with a specific message were requested, without handling them.

Public Types Documentation

typedef description

typedef std::pair<std::string,std::string> Gambit::Piped_exceptions::description;

Public Functions Documentation

function Piped_exceptions

inline Piped_exceptions(
    size_t maxExceptions
)

Constructor.

function request

void request(
    std::string origin,
    std::string message
)

Request an exception.

Request a piped exception.

function request

void request(
    description desc
)

Request a piped exception.

function check

void check(
    exception & excep
)

Check whether any exceptions were requested, and raise them.

function inquire

bool inquire()

Check whether any exceptions were requested without handling them.

function inquire

bool inquire(
    std::string message
)

Check whether any exceptions with a specific message were requested, without handling them.


Updated on 2024-07-18 at 13:53:30 +0000