00001 #ifndef STATEXC_CLASS_HEADER
00002 #define STATEXC_CLASS_HEADER
00003
00004
00005
00011
00012
00013
00014
00015 #include <stdlib.h>
00016
00017 #ifdef _STANDARD_C_PLUS_PLUS
00018 #include <iostream>
00019 using namespace std;
00020 #else
00021 #include <iostream.h>
00022 #endif
00023
00024
00025
00026 #include "Utilsexc.hh"
00027
00028
00029
00030 namespace RazorBack {
00031
00038 class Toofewexc_: public Utilsexc_
00039 {
00040
00041 private:
00042
00043 string Varname;
00044 unsigned int N;
00045
00046
00047 public:
00048
00055 explicit Toofewexc_(const char *Thnm, const char *Name,
00056 unsigned int No=0, bool F=false);
00057
00059 const string& varname() const { return Varname; }
00060
00062 unsigned int no() const { return N; }
00063
00064 private:
00065 Toofewexc_();
00066 };
00067
00068
00074 class Sdevexc_: public Utilsexc_
00075 {
00076
00077 private:
00078
00079 double Sd;
00080
00081
00082 public:
00083
00089 explicit Sdevexc_(const char *Thnm, double Sdev=0.0, bool F=false);
00090
00092 double sd() const { return Sd; }
00093
00094 private:
00095 Sdevexc_();
00096 };
00097
00098
00099 class Forgottenexc_: public Utilsexc_
00100 {
00101
00102 private:
00103
00104 string Forgotten;
00105
00106
00107 public:
00108
00115 explicit Forgottenexc_(const char *Thnm, const char *Forgotnm, bool F=false);
00116
00118 const string& forgotten_name() const { return Forgotten; }
00119
00120 private:
00121 Forgottenexc_();
00122 };
00123
00124
00125 }
00126
00127
00128
00129 #endif // STATEXC_CLASS_HEADER