allpix::LogicError

Module: Exception classes

Errors related to logical problems in the code structure. More…

#include <exceptions.h>

Inherits from allpix::Exception, std::exception

Inherited by allpix::InvalidEventStateException, allpix::InvalidModuleActionException, allpix::InvalidModuleStateException, allpix::ModuleIdentifierAlreadyAddedError, allpix::ModuleIdentifierNotFoundError

Public Functions

Name
LogicError(std::string what_arg)
Creates exception with the given logical problem.

Protected Functions

Name
LogicError() =default
Internal constructor for exceptions setting the error message indirectly.

Additional inherited members

Public Functions inherited from allpix::Exception

Name
Exception(std::string what_arg)
Creates exception with the specified problem.
const char * what() const override
Return the error message.

Protected Functions inherited from allpix::Exception

Name
Exception() =default
Internal constructor for exceptions setting the error message indirectly.

Protected Attributes inherited from allpix::Exception

Name
std::string error_message_

Detailed Description

class allpix::LogicError;

Errors related to logical problems in the code structure.

Problems that could also have been detected at compile time by specialized software

Public Functions Documentation

function LogicError

inline explicit LogicError(
    std::string what_arg
)

Creates exception with the given logical problem.

Parameters:

  • what_arg Text describing the problem

Protected Functions Documentation

function LogicError

LogicError() =default

Internal constructor for exceptions setting the error message indirectly.


Updated on 2024-12-13 at 08:31:37 +0000