allpix::InvalidModuleStateException

Module: Exception classes

Informs that a module is in a state it should never be. More…

#include <exceptions.h>

Inherits from allpix::LogicError, allpix::Exception, std::exception

Public Functions

Name
InvalidModuleStateException(std::string message)
Constructs error with a description.

Additional inherited members

Public Functions inherited from allpix::LogicError

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

Protected Functions inherited from allpix::LogicError

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

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::InvalidModuleStateException;

Informs that a module is in a state it should never be.

The module does for example not properly forward the constructor passed in a detector module.

Public Functions Documentation

function InvalidModuleStateException

inline explicit InvalidModuleStateException(
    std::string message
)

Constructs error with a description.

Parameters:

  • message Text explaining the problem

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