allpix::UnexpectedMessageException

Module: Exception classes

Receive of a message that was not expected. More…

#include <exceptions.h>

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

Public Functions

Name
UnexpectedMessageException(const std::string & module, const std::type_info & message)
Constructs an error with a received message.

Additional inherited members

Public Functions inherited from allpix::RuntimeError

Name
RuntimeError(std::string what_arg)
Creates exception with the given runtime problem.

Protected Functions inherited from allpix::RuntimeError

Name
RuntimeError() =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::UnexpectedMessageException;

Receive of a message that was not expected.

Raised if a module receives a message again while its bound variable is already pointing to the earlier received message.

Public Functions Documentation

function UnexpectedMessageException

inline UnexpectedMessageException(
    const std::string & module,
    const std::type_info & message
)

Constructs an error with a received message.

Parameters:

  • module Receiving module
  • message Type of the received message

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