53 virtual const char*
what(
void )
const throw() {
return message_.c_str(); }
virtual const std::string & getMessage(void) const
Returns the thrown error message string.
Definition: RtError.h:50
virtual ~RtError(void)
The destructor.
Definition: RtError.h:41
virtual const char * what(void) const
Returns the thrown error message as a c-style string.
Definition: RtError.h:53
virtual const Type & getType(void) const
Returns the thrown error message type.
Definition: RtError.h:47
virtual void printMessage(void) const
Prints thrown error message to stderr.
Definition: RtError.h:44
Type
Defined RtError types.
Definition: RtError.h:23
RtError(const std::string &message, Type type=RtError::UNSPECIFIED)
The constructor.
Definition: RtError.h:38
Exception handling class for RtAudio & RtMidi.
Definition: RtError.h:19
std::string message_
Definition: RtError.h:56
Type type_
Definition: RtError.h:57