GL Studio C++ Runtime API
DistiException Class Reference

#include <disti_assert.h>

Public Member Functions

 DistiException (const char *what)
 
 DistiException (const DistiException &other)
 
DistiExceptionoperator= (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
whatThe error message.

◆ DistiException() [2/3]

DistiException ( const DistiException other)

Copy constructor

Parameters
otherThe object to copy.

◆ DistiException() [3/3]

Move operator

Parameters
otherThe object to move.

Member Function Documentation

◆ operator=()

DistiException & operator= ( DistiException  other)

Assignment operator

Parameters
otherThe 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
firstThe first object to swap.
secondThe other object to swap.

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