Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
Core::Error::General Class Reference

The base class of all exceptions. More...

#include <Error.h>

+ Inheritance diagram for Core::Error::General:
+ Collaboration diagram for Core::Error::General:

Public Member Functions

 General (const std::string &error_message="")
 Create an exception. More...
 
virtual const char * what () const throw ()
 The type of error. More...
 
const std::string & get_message ()
 Details about what caused the error. More...
 
virtual ~General () throw ()
 Cleanup if necessary. More...
 

Private Attributes

std::string message
 

Detailed Description

The base class of all exceptions.

Supports what() which should return the type of error and a separate get_message() which gives details about the error.

Definition at line 27 of file Error.h.

Constructor & Destructor Documentation

◆ General()

Core::Error::General::General ( const std::string &  error_message = "")
inline

Create an exception.

Definition at line 32 of file Error.h.

◆ ~General()

virtual Core::Error::General::~General ( )
throw (
)
inlinevirtual

Cleanup if necessary.

Definition at line 45 of file Error.h.

Member Function Documentation

◆ get_message()

const std::string& Core::Error::General::get_message ( )
inline

Details about what caused the error.

Definition at line 42 of file Error.h.

◆ what()

virtual const char* Core::Error::General::what ( ) const
throw (
)
inlinevirtual

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