Main Page | Compound List | File List | Compound Members | File Members

SpamException.h

00001 
00002 #ifndef SPAMEXCEPTIONS_H
00003 #define SPAMEXCEPTIONS_H
00004 
00005 /*
00006   This email filter was written by Ian Kaplan, Bear Products
00007   International.  It is copyrighted by Ian Kaplan, 2004,
00008   www.bearcave.com.
00009 
00010   You have permission to use this software without restriction on two
00011   conditions:
00012 
00013     1. You must preserve this copyright notice in this software and
00014        any software derived from it.
00015 
00016     2. You accept any risk entailed in using this software.  By
00017        using this software, you acknowledge that you have a
00018        sophisticated background in software engineering and 
00019        understand the way this software functions.  You further
00020        acknowledge that using this software may result in the
00021        irretrievable loss of important e-email and you alone
00022        are responsible for this loss.
00023 
00024   If either of these conditions are unacceptable, you may not use any
00025   part of this software.
00026 
00027  */
00028 
00029 #include <stdexcept>
00030 
00031 class SpamException : public std::exception
00032 {
00033  private:
00034   const char *message;
00035 
00036  public:
00037   SpamException(const char *msg) throw () { message = msg; }
00038    const char *what() throw() { return message; } 
00039 }; // SpamException
00040 
00041 #endif

Generated on Sat Mar 27 13:07:38 2004 for Mail Filter by doxygen 1.3.3