24 #ifndef LSST_MEAS_BASE_exceptions_h_INCLUDED
25 #define LSST_MEAS_BASE_exceptions_h_INCLUDED
29 namespace lsst {
namespace meas {
namespace base {
53 pex::exceptions::RuntimeError(message),
66 virtual char const*
getType(
void)
const throw() {
return "lsst::meas::base::MeasurementError *"; };
83 lsst::meas::base::FatalAlgorithmError);
91 lsst::meas::base::PixelValueError);
94 #endif // !LSST_MEAS_BASE_exceptions_h_INCLUDED
virtual char const * getType(void) const
virtual lsst::pex::exceptions::Exception * clone(void) const
Exception to be thrown when a measurement algorithm experiences a known failure mode.
#define LSST_EARGS_UNTYPED
MeasurementError(std::string const &message, std::size_t flagBit)
Constructor; should only be invoked from Python macro.
LSST_EXCEPTION_TYPE(FatalAlgorithmError, lsst::pex::exceptions::RuntimeError, lsst::meas::base::FatalAlgorithmError)
Exception to be thrown when a measurement algorithm experiences a fatal error.
std::size_t getFlagBit() const
Return the flag bit associated with the error.
MeasurementError(LSST_EARGS_TYPED, std::size_t flagBit)
Constructor; should only be invoked by the LSST_EXCEPT macro (see class docs)
Include files required for standard LSST Exception handling.