Class IllegalStateException

Inheritance Relationships

Base Type

  • public std::exception

Class Documentation

class IllegalStateException : public std::exception

An exception to be thrown when a state check fails.

Public Functions

explicit IllegalStateException(const char *msg)

Constructor for IllegalStateException.

Parameters:

msg[in] The message to display when this exception is thrown.

virtual const char *what() const noexcept

Get the message description of why this exception was thrown.

Returns:

The string message