Go to the documentation of this file.
48 using std::ostringstream;
70 const unsigned long& errId,
73 text.push_back(errorText);
79 const unsigned long& errId,
82 text.push_back(
string(errorText));
89 locations(e.locations),
92 streamBuffer(e.streamBuffer)
116 const size_t& index)
const
135 text.push_back(errorText);
162 s <<
"text " << i <<
":" << this->
getText(i) << endl;
unsigned long errorId
Error code.
Exception & operator=(const Exception &e)
Assignment operator.
void dump(std::ostream &s) const
std::vector< ExceptionLocation > locations
Stack of exception locations (where it was thrown).
std::string what() const
Dump to a string.
size_t getTextCount() const
Returns the number of text strings in the exception text stack.
unsigned long getLineNumber() const
Accessor for line of source file where exception occurred.
Exception & addLocation(const ExceptionLocation &location)
std::string getText(const size_t &index=0) const
size_t getLocationCount() const
Severity
Exception severity classes.
std::ostream & operator<<(std::ostream &s, const ObsEpoch &oe) noexcept
void dump(std::ostream &s) const
std::string what() const
Dump to a string.
const ExceptionLocation getLocation(const size_t &index=0) const
Exception & addText(const std::string &errorText)
std::string getFileName() const
Accessor for name of source file where exception occurred.
std::string streamBuffer
Buffer for stream output.
Severity severity
Severity of exception.
std::vector< std::string > text
Text stack describing exception condition.
std::string getFunctionName() const
Accessor for name of function where exception occurred.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39