LuciadCPillar 2024.0.08
|
The exception that represents an error in the program logic. More...
#include <luciad/Exception.h>
Public Member Functions | |
LogicException (std::string message) | |
Creates an exception that represents an error in the program logic. More... | |
LogicException (std::string message, const Exception &innerException) | |
Creates an exception that represents an error in the program logic. More... | |
Public Member Functions inherited from luciad::Exception | |
Exception (std::string message) | |
Initializes a new instance of the Exception class with a specified error message. More... | |
Exception (std::string message, const Exception &innerException) | |
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception. More... | |
virtual | ~Exception () |
std::optional< Exception > | getInnerException () const |
Returns the inner exception that caused this exception. More... | |
std::string | getStackTrace () const |
Returns the string representation of the stack trace including all the inner exceptions stack traces. More... | |
std::string | what () const |
Returns the message that describes the error. More... | |
The exception that represents an error in the program logic.
This kind of exception should lead directly to a fix in the code.
|
explicit |
Creates an exception that represents an error in the program logic.
message | the message that describes the error |
luciad::LogicException::LogicException | ( | std::string | message, |
const Exception & | innerException | ||
) |
Creates an exception that represents an error in the program logic.
message | the message that describes the error |
innerException | an other exception that caused this exception |