CARMA C++
|
Exception class thrown when an invalid sample is detected. More...
#include "carma/monitor/MonitorPointSample.h"
Public Member Functions | |
SampleInvalidExceptionObj (const char *mesg, const char *fileName=__FILE__, int lineNum=__LINE__) | |
SampleInvalidExceptionObj (const std::ostringstream &errStream, const char *fileName=__FILE__, int lineNum=__LINE__) | |
SampleInvalidExceptionObj (const MonitorSampleValue &sample, MonitorValueType type, const char *fileName=__FILE__, int lineNum=__LINE__) | |
SampleInvalidExceptionObj (const MonitorPointSample &sample, MonitorValueType type, const char *fileName=__FILE__, int lineNum=__LINE__) | |
![]() | |
Backtrace | getBacktrace () const |
virtual int | getLineNumber () const |
virtual ::std::string | getLogString () const |
virtual const char * | getMessage () const |
virtual const char * | getSourceFile () const |
void | logException (log4cpp::Priority::PriorityLevel priority) const |
virtual void | setMessageDirectly (const char *mesg) |
virtual void | setMessageToCopy (const char *mesg) |
virtual void | setMessageToCopy (const ::std::string &mesg) |
virtual void | setMessageToCopy (const ::std::ostringstream &oss) |
virtual const char * | what () const throw ( ) |
virtual | ~BaseException () throw ( ) |
Additional Inherited Members | |
![]() | |
BaseException (const BaseException &rhs) | |
BaseException (const char *mesg, const char *fileName, const int lineNo) | |
Constructor - creates an instance of class BaseException. More... | |
BaseException (const char *mesg, const ::std::string &fileName, const int lineNo) | |
BaseException (const ::std::string &mesg, const char *fileName, const int lineNo) | |
BaseException (const ::std::string &mesg, const ::std::string &fileName, const int lineNo) | |
BaseException (const ::std::ostringstream &oss, const char *fileName, const int lineNo) | |
BaseException (const ::std::ostringstream &oss, const ::std::string &fileName, const int lineNo) | |
BaseException & | operator= (const BaseException &rhs) |
virtual void | setLineNumber (int num) |
void | setSourceFileDirectly (const char *file) |
void | setSourceFileToCopy (const char *file) |
void | setSourceFileToCopy (const ::std::string &file) |
![]() | |
std::ostream & | operator<< (::std::ostream &os, const ::std::exception &error) |
Insert (i.e. output) the error message from any ::std::exception into an output stream. More... | |
Exception class thrown when an invalid sample is detected.
An exception class to inform users that an invalid sample has been detected. A sample is invalid if the value type is unrecognizable, or if the sample number is greater than the allowed number of samples for that monitor point.
Definition at line 453 of file MonitorPointSample.h.