
Classes | |
| class | MagAOX::xwcException | 
| Augments an exception with the source file and line.  More... | |
Functions | |
| MagAOX::xwcException::xwcException ()=delete | |
| MagAOX::xwcException::xwcException (const std::string &msg, const std::source_location loc=std::source_location::current()) | |
| Constructor.   | |
| MagAOX::xwcException::xwcException (const std::string &msg, int code, const std::source_location loc=std::source_location::current()) | |
| Constructor with code.   | |
| virtual const char * | MagAOX::xwcException::what () const noexcept | 
| Get the what string.   | |
| const std::string & | MagAOX::xwcException::message () const | 
| Get the message.   | |
| const std::string | MagAOX::xwcException::file_name () const | 
| Get the source file.   | |
| int | MagAOX::xwcException::line () const | 
| Get the source line.   | |
| int | MagAOX::xwcException::code () const | 
| Get the error code.   | |
Variables | |
| std::string | MagAOX::xwcException::m_what | 
| The full what message (message + file information).   | |
| std::string | MagAOX::xwcException::m_message | 
| The explanatory message.   | |
| std::source_location | MagAOX::xwcException::m_location | 
| int | MagAOX::xwcException::m_code { 0 } | 
| An error code (optional)   | |
      
  | 
  delete | 
      
  | 
  inlineexplicit | 
Constructor.
The what() message becomes "msg (file line)".
| [in] | msg | the error descriptionat message) | 
Definition at line 44 of file exceptions.hpp.
      
  | 
  inline | 
Constructor with code.
The what() message becomes "msg (file line)".
| [in] | msg | the error description (what message) | 
| [in] | code | a descriptive error code | 
| [in] | loc | [optional] the location of this call | 
Definition at line 54 of file exceptions.hpp.
      
  | 
  inline | 
Get the error code.
Definition at line 103 of file exceptions.hpp.
References MagAOX::xwcException::m_code.
      
  | 
  inline | 
Get the source file.
Definition at line 85 of file exceptions.hpp.
References MagAOX::xwcException::m_location.
      
  | 
  inline | 
Get the source line.
Definition at line 94 of file exceptions.hpp.
References MagAOX::xwcException::m_location.
      
  | 
  inline | 
Get the message.
Definition at line 76 of file exceptions.hpp.
References MagAOX::xwcException::m_message.
      
  | 
  inlinevirtualnoexcept | 
Get the what string.
Definition at line 67 of file exceptions.hpp.
References MagAOX::xwcException::m_what.
Referenced by MagAOX::logger::logMap< verboseT >::addFileListToFileMap().
      
  | 
  protected | 
An error code (optional)
Definition at line 34 of file exceptions.hpp.
Referenced by MagAOX::xwcException::code().
      
  | 
  protected | 
Definition at line 32 of file exceptions.hpp.
Referenced by MagAOX::xwcException::file_name(), and MagAOX::xwcException::line().
      
  | 
  protected | 
The explanatory message.
Definition at line 30 of file exceptions.hpp.
Referenced by MagAOX::xwcException::message().
      
  | 
  protected | 
The full what message (message + file information).
Definition at line 28 of file exceptions.hpp.
Referenced by MagAOX::xwcException::what().