rcpputils  master
C++ API providing common utilities and data structures.
Public Member Functions | List of all members
rcpputils::IllegalStateException Class Reference

An exception to be thrown when a state check fails. More...

#include <asserts.hpp>

Inheritance diagram for rcpputils::IllegalStateException:
Inheritance graph
[legend]
Collaboration diagram for rcpputils::IllegalStateException:
Collaboration graph
[legend]

Public Member Functions

 IllegalStateException (const char *msg)
 Constructor for IllegalStateException. More...
 
virtual const char * what () const throw ()
 Get the message description of why this exception was thrown. More...
 
- Public Member Functions inherited from std::exception
what (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
exception (T... args)
 

Detailed Description

An exception to be thrown when a state check fails.

Constructor & Destructor Documentation

◆ IllegalStateException()

rcpputils::IllegalStateException::IllegalStateException ( const char *  msg)
explicit

Constructor for IllegalStateException.

Parameters
msgThe message to display when this exception is thrown.

Member Function Documentation

◆ what()

virtual const char* rcpputils::IllegalStateException::what ( ) const
throw (
)
virtual

Get the message description of why this exception was thrown.

Returns
The string message

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