| GL Studio C++ Runtime API

Public Member Functions | Friends | List of all members
DistiException Class Reference

`#include <disti_assert.h>`

## Public Member Functions
| DistiException (const char *what)
| DistiException (const DistiException &other)
DistiException & | operator= (DistiException other)
| DistiException (DistiException &&other)
virtual const char * | what () const

## Friends
void | swap (DistiException &first, DistiException &second)

## Detailed Description

DistiException just contains a string error message

## Constructor & Destructor Documentation

## ◆ DistiException() [1/3]

DistiException | ( | const char * | what | ) |
| explicit

Construct a DistiException with the given error message.

Parameters

  what | The error message.

## ◆ DistiException() [2/3]

DistiException | ( | const DistiException & | other | ) |

Copy constructor

Parameters

  other | The object to copy.

## ◆ DistiException() [3/3]

DistiException | ( | DistiException && | other | ) |

Move operator

Parameters

  other | The object to move.

## Member Function Documentation

## ◆ operator=()

DistiException & operator= | ( | DistiException | other | ) |

Assignment operator

Parameters

  other | The object value to assign.

Returns
  The new object.

## ◆ what()

virtual const char * what | ( |  | ) | const
| virtual

Note
  Never returns NULL.

Returns
  The underlying error string.

## Friends And Related Function Documentation

## ◆ swap

void swap | ( | DistiException & | first,
|  | DistiException & | second
| ) |  |
| friend

Swaps the incoming DistiException objects.

Parameters

  first | The first object to swap.
  second | The other object to swap.

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

- disti_assert.h