allpix::Exception
Module: Exception classes
Base class for all non-internal exceptions in framework.
#include <exceptions.h>
Inherits from std::exception
Inherited by allpix::ConfigurationError, allpix::LogicError, allpix::RuntimeError
Public Functions
Name | |
---|---|
Exception(std::string what_arg) Creates exception with the specified problem. |
|
const char * | what() const override Return the error message. |
Protected Functions
Name | |
---|---|
Exception() =default Internal constructor for exceptions setting the error message indirectly. |
Protected Attributes
Name | |
---|---|
std::string | error_message_ |
Public Functions Documentation
function Exception
inline explicit Exception(
std::string what_arg
)
Creates exception with the specified problem.
Parameters:
- what_arg Text describing the problem
function what
inline const char * what() const override
Return the error message.
Return: Text describing the error
Protected Functions Documentation
function Exception
Exception() =default
Internal constructor for exceptions setting the error message indirectly.
Protected Attributes Documentation
variable error_message_
std::string error_message_;
Updated on 2024-12-13 at 08:31:37 +0000