• Main Page
  • Classes
  • Files
  • File List

src/errors.h

00001 /*
00002  *   See COPYING file distributed along with the psignifit package for
00003  *   the copyright and license terms
00004  */
00005 #ifndef ERRORS_H
00006 #define ERRORS_H
00007 
00009 class PsiError {
00010     public:
00011         const char *message;
00012         PsiError() : message("Unspecified PsiError") {}
00013         PsiError(const char* message) : message(message) {}
00014         ~PsiError() {}
00015 };
00016 
00022 class NotImplementedError : public PsiError {
00023 };
00024 
00026 class BadArgumentError : public PsiError {
00027     public:
00028         BadArgumentError() {}
00029         BadArgumentError(const char* message) : PsiError(message) {}
00030 };
00031 
00033 class BadIndexError : public PsiError {
00034 };
00035 
00036 #endif

Generated on Mon Jul 4 2011 14:52:04 for Psi++ by  doxygen 1.7.1