drumstick
1.1.0
|
Class used to report errors from the ALSA sequencer. More...
#include <drumstickcommon.h>
Public Member Functions | |
SequencerError (QString const &s, int rc) | |
Constructor. More... | |
virtual | ~SequencerError () |
Destructor. | |
const QString | qstrError () const |
Gets the human readable error message from the error code. More... | |
int | code () const |
Gets the numeric error code. More... | |
const QString & | location () const |
Gets the location of the error code as provided in the constructor. More... | |
Class used to report errors from the ALSA sequencer.
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.
|
inline |
Constructor.
s | Error location |
rc | Numeric error code |
Definition at line 62 of file drumstickcommon.h.
|
inline |
|
inline |
Gets the location of the error code as provided in the constructor.
Definition at line 92 of file drumstickcommon.h.
|
inline |
Gets the human readable error message from the error code.
Definition at line 74 of file drumstickcommon.h.