Alexandria 2.31.4
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::SourceCatalog::PhotometryParsingException Class Reference

#include <PhotometryParsingException.h>

Inheritance diagram for Euclid::SourceCatalog::PhotometryParsingException:
Collaboration diagram for Euclid::SourceCatalog::PhotometryParsingException:

Public Member Functions

 PhotometryParsingException (const char *message, double flux, double error)
 PhotometryParsingException (const char *message, const char *context, double flux, double error)
 ~PhotometryParsingException () noexcept override=default
const double & GetFlux () const
const double & GetError () const
Public Member Functions inherited from Elements::Exception
 Exception (ExitCode e=ExitCode::NOT_OK)
 Exception (const char *message, ExitCode e=ExitCode::NOT_OK)
 Exception (const std::string &message, ExitCode e=ExitCode::NOT_OK)
 Exception (const char *string_format, Args &&... args)
 Exception (const Exception &rhs)=default
virtual ~Exception () noexcept
const char * what () const noexcept override
ExitCode exitCode () const noexcept
void appendMessage (const T &message)
Public Member Functions inherited from std::exception
what (T... args)
~exception (T... args)
operator= (T... args)
exception (T... args)

Private Attributes

double m_flux
double m_error

Additional Inherited Members

Protected Attributes inherited from Elements::Exception
std::string m_error_msg
const ExitCode m_exit_code

Detailed Description

Definition at line 34 of file PhotometryParsingException.h.

Constructor & Destructor Documentation

◆ PhotometryParsingException() [1/2]

Euclid::SourceCatalog::PhotometryParsingException::PhotometryParsingException ( const char * message,
double flux,
double error )
inlineexplicit

Definition at line 36 of file PhotometryParsingException.h.

References Elements::Exception::Exception(), m_error, and m_flux.

Here is the call graph for this function:

◆ PhotometryParsingException() [2/2]

Euclid::SourceCatalog::PhotometryParsingException::PhotometryParsingException ( const char * message,
const char * context,
double flux,
double error )
inlineexplicit

Definition at line 41 of file PhotometryParsingException.h.

References Elements::Exception::Exception(), m_error, and m_flux.

Here is the call graph for this function:

◆ ~PhotometryParsingException()

Euclid::SourceCatalog::PhotometryParsingException::~PhotometryParsingException ( )
overridedefaultnoexcept

Member Function Documentation

◆ GetError()

const double & Euclid::SourceCatalog::PhotometryParsingException::GetError ( ) const
inline

Definition at line 51 of file PhotometryParsingException.h.

References m_error.

◆ GetFlux()

const double & Euclid::SourceCatalog::PhotometryParsingException::GetFlux ( ) const
inline

Definition at line 48 of file PhotometryParsingException.h.

References GetFlux(), and m_flux.

Referenced by GetFlux().

Here is the call graph for this function:

Member Data Documentation

◆ m_error

double Euclid::SourceCatalog::PhotometryParsingException::m_error
private

◆ m_flux

double Euclid::SourceCatalog::PhotometryParsingException::m_flux
private

The documentation for this class was generated from the following file: