Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

/home/rdbrown/doxygen/cse125g1/src/modules/audio/AudioException.h

00001 #ifndef MM_AUDIO_EXCEPTION_H
00002 #define MM_AUDIO_EXCEPTION_H
00003 /*
00004  *  AudioException.h
00005  *  MMAudio
00006  *
00007  *  Created by Rib Rdb on 4/4/05.
00008  *  Copyright 2005 __MyCompanyName__. All rights reserved.
00009  *
00010  */
00011 
00012 #include "exception.h"
00013 #include <iostream>
00014 using std::ostream;
00015 
00016 class AudioException : public Exception
00017 {
00018     int lineno;
00019     const char *function;
00020     const char *filename;
00021         const char *msg;
00022 public:
00023     AudioException(const char *func, const char *file, int line)
00024                 : Exception(func, file, line) {}
00025     AudioException(const char *m, const char *func, const char *file, int line)
00026                 : Exception(m, func, file, line) {}
00027 };
00028 /*    
00029     virtual const char *getMessage(void) const { return msg; }
00030     const char * getFunctionName(void) const {
00031         return function;
00032     }
00033     int getLineNumber(void) const {
00034         return lineno;
00035     }
00036     const char *getFileName(void) const {
00037         return filename;
00038     }
00039 };
00040 
00041 ostream& operator<<(ostream& os, AudioException& ex);
00042 */
00043 #endif /* MM_AUDIO_EXCEPTION_H */

Generated on Thu Aug 18 16:03:09 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18