AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ what()

const char * drama::Exception::what ( ) const
inlineoverridenoexcept

Get string identifying exception.

Returns a null terminated character sequence that may be used to identify the exception - in particular, the message that is part of this exception.

This method is an implementation of the std::exception method of the same name, but returns the same data as drama::Exception's toString() method.

Returns
A pointer to a c-string with content related to the exception. This is guaranteed to be valid at least until the exception object from which it is obtained is destroyed or until a non-const member function of the exception object is called.