wmail: debug macro fixes.
[dockapps.git] / wmmixer / exception.h
blobeee481e56e89d1e388e9d551fffb281a085abaf3
1 // wmmixer - A mixer designed for WindowMaker
2 //
3 // Release 1.5
4 // Copyright (C) 1998 Sam Hawker <shawkie@geocities.com>
5 // Copyright (C) 2002 Gordon Fraser <gordon@debian.org>
6 // This software comes with ABSOLUTELY NO WARRANTY
7 // This software is free software, and you are welcome to redistribute it
8 // under certain conditions
9 // See the COPYING file for details.
12 #ifndef __exception_h__
13 #define __exception_h__
15 #include <stdlib.h>
16 #include <string.h>
18 //--------------------------------------------------------------------
19 class Exception
21 protected:
22 char* error_message_;
24 public:
25 Exception();
26 Exception(const Exception&);
27 virtual ~Exception();
28 char* getErrorMessage() const;
32 //--------------------------------------------------------------------
33 class MixerDeviceException : public Exception
35 public:
36 MixerDeviceException(char *);
37 // virtual ~MixerDeviceException();
40 #endif //_exception_h__