Better debug messages.

This commit is contained in:
paul 2006-12-01 17:44:56 +00:00
parent b5abe48ea6
commit e306a94e54
1 changed files with 3 additions and 1 deletions

View File

@ -127,6 +127,7 @@ PlaylistEvent :: deInitialize(void) throw ()
DEBUG_BLOCK
if (state != stopped) {
error() << "::deInitialize() - ERROR: STATE IS NOT STOPPED! Aborting." << endl;
// TODO: handle error?
return;
}
@ -151,8 +152,8 @@ PlaylistEvent :: start(void) throw ()
DEBUG_BLOCK
if (state != initialized) {
error() << "::start() - ERROR: STATE IS NOT INITIALIZED! Aborting." << endl;
// TODO: handle error?
error() << "Not initialized. Aborting." << endl;
return;
}
@ -181,6 +182,7 @@ PlaylistEvent :: stop(void) throw ()
DEBUG_BLOCK
if (state != running) {
error() << "::stop() - ERROR: STATE IS NOT RUNNING! Aborting." << endl;
// TODO: handle error?
return;
}