#include <KontrolDj.h>
Public Types | |
| enum | Type { WARNING, UNSPECIFIED, NO_DEVICES_FOUND, INVALID_DEVICE, INVALID_PARAMETER, DRIVER_ERROR, NOT_SYNCH, TX_FAIL, RX_FAIL } |
| Defined KDjError types. More... | |
Public Member Functions | |
| KDjError (const std::string &message, Type type=KDjError::UNSPECIFIED) | |
| The constructor. | |
| virtual | ~KDjError (void) |
| The destructor. | |
| virtual void | printMessage (void) |
| Prints "thrown" error message to stdout. | |
| virtual const Type & | getType (void) |
| Returns the "thrown" error message type. | |
| virtual const std::string & | getMessage (void) |
| Returns the "thrown" error message string. | |
Protected Attributes | |
| std::string | message_ |
| Type | type_ |
The KDjError class is quite simple but it does allow errors to be "caught" by KDjError::Type. See the KDjKernel and KDjExtended documentation to know which methods can "throw" an KDjError.
Definition at line 67 of file KontrolDj.h.
|
|
Defined KDjError types.
Definition at line 72 of file KontrolDj.h. |
|
||||||||||||
|
The constructor.
Definition at line 92 of file KontrolDj.h. |
|
|
The destructor.
Definition at line 95 of file KontrolDj.h. |
|
|
Prints "thrown" error message to stdout.
Definition at line 98 of file KontrolDj.h. |
|
|
Returns the "thrown" error message type.
Definition at line 101 of file KontrolDj.h. |
|
|
Returns the "thrown" error message string.
Definition at line 104 of file KontrolDj.h. |
|
|
Definition at line 86 of file KontrolDj.h. |
|
|
Definition at line 87 of file KontrolDj.h. |
![]() |
Copyright © 2005 by LSD Software. All Rights Reserved. Maintained by LSD, info at kontrol-dj.com |