![]() |
MAiNGO
|
This class defines the exceptions thrown by MAiNGO. More...
#include <MAiNGOException.h>
Public Member Functions | |
MAiNGOException ()=delete | |
MAiNGOException (const MAiNGOException &)=default | |
MAiNGOException (MAiNGOException &&)=default | |
MAiNGOException & | operator= (const MAiNGOException &)=default |
MAiNGOException & | operator= (MAiNGOException &&)=default |
virtual | ~MAiNGOException ()=default |
MAiNGOException (const std::string &errorMessage) | |
MAiNGOException (const std::string &errorMessage, const babBase::BabNode &nodeThatErrorOccurredIn) | |
MAiNGOException (const std::string &errorMessage, const std::exception &originalException) | |
MAiNGOException (const std::string &errorMessage, const std::exception &originalException, const babBase::BabNode &nodeThatErrorOccurredIn) | |
const char * | what () const noexcept override |
Private Member Functions | |
void | _construct_complete_error_message (const std::string &errorMessage, const std::exception *originalException, const babBase::BabNode *nodeThatErrorOccurredIn) |
void | _append_current_error_message_to_message (const std::string ¤tErrorMessage, std::ostringstream &completeErrorMessage) |
void | _append_original_exception_info_to_message (const std::exception *originalException, std::ostringstream &completeErrorMessage) |
void | _append_node_info_to_message (const babBase::BabNode *nodeThatErrorOccurredIn, std::ostringstream &completeErrorMessage) |
Private Attributes | |
std::string | _errorMessage {""} |
This class defines the exceptions thrown by MAiNGO.
The class contains different constructors that allow incorporating information about the error. The minimum requirement is an error message. Additionally, information can be given about a branch-and-bound node that the error occurred in, or information on the original exception can be included in case the MAiNGOException is thrown in response to another type of exception.
|
delete |
|
default |
|
default |
|
virtualdefault |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
default |
|
default |
|
inlineoverridenoexcept |
|
private |