Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Euclid::SourceCatalog::PhotometryParsingException Class Reference

#include <PhotometryParsingException.h>

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

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 doubleGetFlux () const
 
const doubleGetError () 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 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.

◆ 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.

◆ ~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 m_flux.

Member Data Documentation

◆ m_error

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

Definition at line 57 of file PhotometryParsingException.h.

Referenced by GetError().

◆ m_flux

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

Definition at line 56 of file PhotometryParsingException.h.

Referenced by GetFlux().


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