Alexandria  2.16
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
Euclid::SourceCatalog::PhotometryParsingException Class Reference

#include <PhotometryParsingException.h>

Inheritance diagram for Euclid::SourceCatalog::PhotometryParsingException:
[legend]
Collaboration diagram for Euclid::SourceCatalog::PhotometryParsingException:
[legend]

Public Member Functions

 PhotometryParsingException (const char *message, double flux, double error)
 
virtual ~PhotometryParsingException () noexcept
 
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 *stringFormat, Args &&...args)
 
virtual ~Exception () noexcept=default
 
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 35 of file PhotometryParsingException.h.

Constructor & Destructor Documentation

◆ PhotometryParsingException()

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

Definition at line 38 of file PhotometryParsingException.h.

◆ ~PhotometryParsingException()

virtual Euclid::SourceCatalog::PhotometryParsingException::~PhotometryParsingException ( )
inlinevirtualnoexcept

Definition at line 43 of file PhotometryParsingException.h.

Member Function Documentation

◆ GetError()

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

Definition at line 46 of file PhotometryParsingException.h.

References m_error.

◆ GetFlux()

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

Definition at line 45 of file PhotometryParsingException.h.

References m_flux.

Member Data Documentation

◆ m_error

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

Definition at line 51 of file PhotometryParsingException.h.

Referenced by GetError().

◆ m_flux

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

Definition at line 50 of file PhotometryParsingException.h.

Referenced by GetFlux().


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