CppEphem
Public Member Functions | List of all members
CEException::sofa_error Class Reference

Definition at line 102 of file CEException.h.

Public Member Functions

 sofa_error (const std::string &origin, const std::string &sofa_method, const int &errcode, const std::string &message)
 Generate an exception of type "sofa_error". More...
 
- Public Member Functions inherited from CEExceptionHandler
 CEExceptionHandler ()
 
 CEExceptionHandler (const std::string &origin, const std::string &message, const std::string &type="<no type>")
 Generates and returns the error message. More...
 
virtual void message (const std::string &msg)
 Overwrite the error message. More...
 
virtual const char * message (void) const noexcept
 Return the message passed by the user. More...
 
virtual void message_append (const std::string &msg)
 Append a string to the end of the message. More...
 
virtual const char * trace (void) const noexcept
 Return the backtrace string. More...
 
virtual const char * what () const noexcept
 Generates and returns the error message. More...
 
virtual ~CEExceptionHandler () noexcept
 

#include <CEException.h>

Inheritance diagram for CEException::sofa_error:
Inheritance graph
[legend]
Collaboration diagram for CEException::sofa_error:
Collaboration graph
[legend]

Constructor & Destructor Documentation

◆ sofa_error()

CEException::sofa_error::sofa_error ( const std::string &  origin,
const std::string &  sofa_method,
const int &  errcode,
const std::string &  message 
)

Generate an exception of type "sofa_error".

Parameters
[in]originMethod that threw the error
[in]messageDiagnostic message

This error should be used when a known error code is produced by a SOFA method.

Definition at line 153 of file CEException.cpp.


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