#include <drumstickcommon.h>
Public Member Functions | |
| SequencerError (QString const &s, int rc) | |
| Constructor. | |
| virtual | ~SequencerError () |
| Destructor. | |
| const QString | qstrError () const |
| Gets the human readable error message from the error code. | |
| int | code () const |
| Gets the numeric error code. | |
| const QString & | location () const |
| Gets the location of the error code as provided in the constructor. | |
The class SequencerError represents an exception object reported when the ALSA library returns an error code. It is only used for severe errors.
Definition at line 54 of file drumstickcommon.h.
| SequencerError | ( | QString const & | s, | |
| int | rc | |||
| ) | [inline] |
Constructor.
| s | Error location | |
| rc | Numeric error code |
Definition at line 62 of file drumstickcommon.h.
| const QString qstrError | ( | ) | const [inline] |
Gets the human readable error message from the error code.
Definition at line 74 of file drumstickcommon.h.
| int code | ( | ) | const [inline] |
| const QString& location | ( | ) | const [inline] |
Gets the location of the error code as provided in the constructor.
Definition at line 92 of file drumstickcommon.h.
1.5.6