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

Definition at line 110 of file CEException.h.

Public Member Functions

 sofa_exception (const std::string &origin, const std::string &sofa_method, const std::string &message)
 Generate an exception of type "sofa_exception". 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_exception:
Inheritance graph
[legend]
Collaboration diagram for CEException::sofa_exception:
Collaboration graph
[legend]

Constructor & Destructor Documentation

◆ sofa_exception()

CEException::sofa_exception::sofa_exception ( const std::string &  origin,
const std::string &  sofa_method,
const std::string &  message 
)

Generate an exception of type "sofa_exception".

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

Definition at line 135 of file CEException.cpp.


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