1 #ifndef neo_Exception_hh_seen 2 #define neo_Exception_hh_seen 56 virtual const char *
what() {
return ccaMessage.c_str(); }
59 { ccaType = t; ccaMessage = message; }
62 { ccaType = t; ccaMessage = ::std::string(
""); }
65 { ccaType =
Nonstandard; ccaMessage = ::std::string(
""); }
77 void setMessage(const ::std::string & message) { ccaMessage = message; }
85 #endif // neo_Exception_hh_seen Definition: Exception.hh:23
Definition: Exception.hh:18
::std::string ccaMessage
Definition: Exception.hh:52
enum ExceptionType getType()
Definition: Exception.hh:70
Definition: Exception.hh:20
Definition: Exception.hh:29
virtual ~Exception()
Definition: Exception.hh:55
ExceptionType
Types of cca framework exception so far, other than typemismatch.
Definition: Exception.hh:17
void setType(enum ExceptionType t)
Definition: Exception.hh:75
This class extends the STL std::exception to allow the thrower to specify the message that the stl sa...
Definition: Exception.hh:48
Exception(enum ExceptionType t, const ::std::string &message)
Definition: Exception.hh:58
enum ExceptionType ccaType
Definition: Exception.hh:51
Definition: Exception.hh:28
virtual const char * what()
Definition: Exception.hh:56
Definition: Exception.hh:25
Exception(const ::std::string &message)
Definition: Exception.hh:67
Definition: Exception.hh:27
::std::string getMessage()
string form of std::exception::what().
Definition: Exception.hh:73
Definition: Exception.hh:26
Definition: Exception.hh:19
Exception()
Definition: Exception.hh:64
Exception(enum ExceptionType t)
Definition: Exception.hh:61
Definition: Exception.hh:21
Definition: Exception.hh:24
Definition: Exception.hh:22
void setMessage(const ::std::string &message)
Definition: Exception.hh:77
Definition: Exception.hh:30
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA speci...
Definition: neocca.hh:62