25 #ifndef PHOTOMETRYPARSINGEXCEPTION_H_
26 #define PHOTOMETRYPARSINGEXCEPTION_H_
28 #include "ElementsKernel/Exception.h"
32 namespace SourceCatalog {
37 : Elements::Exception(message),
m_flux(flux),
m_error(error) {
38 *
this <<
" ( Flux=" << flux <<
", Error=" << error <<
")";
42 : Elements::Exception(message),
m_flux(flux),
m_error(error) {
43 *
this << context <<
" ( Flux=" << flux <<
", Error=" << error <<
")";
const double & GetFlux() const
PhotometryParsingException(const char *message, const char *context, double flux, double error)
const double & GetError() const
PhotometryParsingException(const char *message, double flux, double error)
virtual ~PhotometryParsingException() noexcept