LSSTApplications
11.0-24-g0a022a1,14.0+77,15.0,15.0+1
LSSTDataManagementBasePackage
|
#include <Runtime.h>
Public Member Functions | |
void | addMessage (char const *file, int line, char const *func, std::string const &message) |
Add a tracepoint and a message to an exception before rethrowing it (access via LSST_EXCEPT_ADD). More... | |
Traceback const & | getTraceback (void) const throw () |
Retrieve the list of tracepoints associated with an exception. More... | |
virtual std::ostream & | addToStream (std::ostream &stream) const |
Add a text representation of this exception, including its traceback with messages, to a stream. More... | |
virtual char const * | what (void) const throw () |
Return a character string summarizing this exception. More... | |
T | what (T... args) |
virtual char const * | getType (void) const throw () |
Return the fully-specified C++ type of a pointer to the exception. More... | |
virtual Exception * | clone (void) const |
Return a copy of the exception as an Exception*. More... | |
|
inherited |
Add a tracepoint and a message to an exception before rethrowing it (access via LSST_EXCEPT_ADD).
[in] | file | Filename (automatically passed in by macro). |
[in] | line | Line number (automatically passed in by macro). |
[in] | func | Function name (automatically passed in by macro). |
[in] | message | Additional message to associate with this rethrow. |
Definition at line 55 of file Exception.cc.
|
virtualinherited |
Add a text representation of this exception, including its traceback with messages, to a stream.
[in] | stream | Reference to an output stream. |
Definition at line 93 of file Exception.cc.
|
virtualinherited |
Return a copy of the exception as an Exception*.
Can be overridden by derived classes that add data or methods.
Reimplemented in lsst::pex::policy::UnsupportedSyntax, lsst::pex::policy::FormatSyntaxError, lsst::pex::policy::SyntaxError, lsst::pex::policy::EOFError, lsst::pex::policy::TypeError, lsst::pex::policy::NameNotFound, lsst::pex::policy::ParserError, lsst::pex::policy::DictionaryError, lsst::meas::base::MeasurementError, and lsst::pex::policy::BadNameError.
Definition at line 120 of file Exception.cc.
|
inherited |
Retrieve the list of tracepoints associated with an exception.
Definition at line 89 of file Exception.cc.
|
virtualinherited |
Return the fully-specified C++ type of a pointer to the exception.
This is overridden by derived classes (automatically if the LSST_EXCEPTION_TYPE macro is used). It is used by the Python interface.
Reimplemented in lsst::pex::policy::UnsupportedSyntax, lsst::pex::policy::FormatSyntaxError, lsst::pex::policy::SyntaxError, lsst::pex::policy::EOFError, lsst::pex::policy::TypeError, lsst::pex::policy::NameNotFound, lsst::pex::policy::ParserError, lsst::pex::policy::DictionaryError, lsst::meas::base::MeasurementError, and lsst::pex::policy::BadNameError.
Definition at line 116 of file Exception.cc.
|
virtualinherited |
Return a character string summarizing this exception.
This combines all the messages added to the exception, but not the type or traceback (use the stream operator to get this more detailed information).
Not allowed to throw any exceptions.
Definition at line 112 of file Exception.cc.