Logo Search packages:      
Sourcecode: tcptrack version File versions  Download package

GenericError.h

#ifndef GENERICERROR_H
#define GENERICERROR_H 1

#include <string>
#include "AppError.h"

using namespace std;

// this is a general exception used for lots of things
// ...mainly because I haven't gotten around to making more useful
// exception classes yet.

class GenericError : public AppError
{
public:
      GenericError( char *msg );
      GenericError( string msg ) { m=msg; };
      GenericError( const GenericError &ge );
      string msg() const;
private:
      string m;
};

#endif

Generated by  Doxygen 1.6.0   Back to index