X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=doc%2Fhtml%2FclassRtError.html;fp=doc%2Fhtml%2FclassRtError.html;h=244c52f5e999e2f8f3287f33dd41789b32fbe93d;hb=0876bbd0bad22677b23342c828bc36c3babbed4e;hp=23bfd0f2e388c47e21de04bcfc71d56e9fb31bfa;hpb=332b0956ae798ea52073fe5b889696a33e0f11f2;p=rtaudio.git diff --git a/doc/html/classRtError.html b/doc/html/classRtError.html index 23bfd0f..244c52f 100644 --- a/doc/html/classRtError.html +++ b/doc/html/classRtError.html @@ -1,11 +1,12 @@
-Public Types | |
enum | Type { - WARNING, -DEBUG_WARNING, -UNSPECIFIED, -NO_DEVICES_FOUND, + |
enum | Type { + UNSPECIFIED, +NO_DEVICES_FOUND, +INVALID_DEVICE, +MEMORY_ERROR, - INVALID_DEVICE, -INVALID_STREAM, -MEMORY_ERROR, -INVALID_PARAMETER, + INVALID_PARAMETER, +INVALID_USE, +DRIVER_ERROR, +SYSTEM_ERROR, - DRIVER_ERROR, -SYSTEM_ERROR, -THREAD_ERROR + THREAD_ERROR } |
Defined RtError types. More... | |
Defined RtError types. More... | |
Public Member Functions | |
- | RtError (const std::string &message, Type type=RtError::UNSPECIFIED) | RtError (const std::string &message, Type type=RtError::UNSPECIFIED) throw () |
The constructor. | |
-virtual | ~RtError (void) | ~RtError (void) throw () |
The destructor. | |
-virtual void | printMessage (void) | printMessage (void) throw () |
Prints thrown error message to stderr. | |
-virtual const Type & | getType (void) | getType (void) throw () |
Returns the thrown error message type. | |
-virtual const std::string & | getMessage (void) | getMessage (void) throw () |
Returns the thrown error message string. | |
-virtual const char * | getMessageString (void) |
+virtual const char * | what (void) const throw () |
Returns the thrown error message as a C string. | |
Returns the thrown error message as a c-style string. |
-The RtError class is quite simple but it does allow errors to be "caught" by RtError::Type. See the RtAudio and RtMidi documentation to know which methods can throw an RtError. +The RtError class is quite simple but it does allow errors to be "caught" by RtError::Type. See the RtAudio and RtMidi documentation to know which methods can throw an RtError.
|
@@ -90,27 +89,23 @@ Defined RtError types.
![]() |
- ©2001-2005 Gary P. Scavone, McGill University. All Rights Reserved. - Maintained by Gary P. Scavone, gary@music.mcgill.ca | ©2001-2007 Gary P. Scavone, McGill University. All Rights Reserved. Maintained by Gary P. Scavone. |