MarlinMT
0.1.0
|
#include <exception>
#include <string>
Go to the source code of this file.
Classes | |
class | marlinmt::Exception |
Exception class. More... | |
Namespaces | |
marlinmt | |
Macros | |
#define | MARLINMT_THROW(message) throw marlinmt::Exception( __LINE__, __PRETTY_FUNCTION__, __FILE__, message ) |
#define | MARLINMT_THROW_T(ExceptionType, message) throw ExceptionType( __LINE__, __PRETTY_FUNCTION__, __FILE__, message ) |
#define | MARLINMT_RETHROW(orig, message) throw marlinmt::Exception( orig, __LINE__, __PRETTY_FUNCTION__, __FILE__, message ) |
#define | MARLINMT_RETHROW_T(ExceptionType, orig, message) throw ExceptionType( orig, __LINE__, __PRETTY_FUNCTION__, __FILE__, message ) |
#define | MARLINMT_SKIP_EVENT(proc) MARLINMT_THROW_T( marlinmt::SkipEventException, proc->name() ) |
#define | MARLINMT_STOP_PROCESSING(proc) MARLINMT_THROW_T( marlinmt::StopProcessingException, proc->name() ) |
#define | MARLINMT_DEFINE_EXCEPTION(ClassName) |
Functions | |
marlinmt::MARLINMT_DEFINE_EXCEPTION (SkipEventException) | |
Definition of Marlin exceptions. More... | |
marlinmt::MARLINMT_DEFINE_EXCEPTION (StopProcessingException) | |
marlinmt::MARLINMT_DEFINE_EXCEPTION (ParseException) | |
marlinmt::MARLINMT_DEFINE_EXCEPTION (BookStoreException) | |
#define MARLINMT_DEFINE_EXCEPTION | ( | ClassName | ) |
Definition at line 18 of file Exceptions.h.
#define MARLINMT_RETHROW | ( | orig, | |
message | |||
) | throw marlinmt::Exception( orig, __LINE__, __PRETTY_FUNCTION__, __FILE__, message ) |
Definition at line 10 of file Exceptions.h.
Referenced by marlinmt::Output::failure(), marlinmt::XMLConfigReader::parametersFromXMLElement(), marlinmt::XMLConfigReader::parseConstant(), marlinmt::XMLConfigReader::parseExecuteSection(), marlinmt::XMLConfigReader::processConditions(), marlinmt::XMLConfigReader::processIncludeElement(), and marlinmt::XMLConfigReader::replaceGroups().
#define MARLINMT_RETHROW_T | ( | ExceptionType, | |
orig, | |||
message | |||
) | throw ExceptionType( orig, __LINE__, __PRETTY_FUNCTION__, __FILE__, message ) |
Definition at line 11 of file Exceptions.h.
Referenced by marlinmt::XMLConfigReader::parseProcessorParameters().
#define MARLINMT_SKIP_EVENT | ( | proc | ) | MARLINMT_THROW_T( marlinmt::SkipEventException, proc->name() ) |
Definition at line 14 of file Exceptions.h.
Referenced by marlinmt::ProcessorApi::skipCurrentEvent().
#define MARLINMT_STOP_PROCESSING | ( | proc | ) | MARLINMT_THROW_T( marlinmt::StopProcessingException, proc->name() ) |
Definition at line 15 of file Exceptions.h.
Referenced by marlinmt::ProcessorApi::abort().
#define MARLINMT_THROW | ( | message | ) | throw marlinmt::Exception( __LINE__, __PRETTY_FUNCTION__, __FILE__, message ) |
Definition at line 8 of file Exceptions.h.
Referenced by marlinmt::Extensions::add(), marlinmt::Configuration::addConstant(), marlinmt::ConfigSection::addSection(), marlinmt::Component::application(), marlinmt::BookStoreManager::bookHist(), marlinmt::Configurable::checkParameter(), marlinmt::ParameterImpl::checkType(), marlinmt::concurrency::PEPScheduler::configureProcessors(), marlinmt::Configuration::constantAs(), marlinmt::ParameterImpl::construct(), marlinmt::Extensions::create(), marlinmt::Configuration::createSection(), marlinmt::PluginManager::doLoadLibrary(), marlinmt::details::convert< T >::from_string(), marlinmt::details::convert< bool >::from_string(), marlinmt::Extensions::get(), marlinmt::ParameterImpl::get(), marlinmt::ParameterImpl::getDefault(), marlinmt::details::getenv(), marlinmt::ProcessorApi::getRandomSeed(), marlinmt::Application::init(), marlinmt::SimpleScheduler::initialize(), marlinmt::BookStoreManager::initialize(), marlinmt::GeometryManager::initialize(), marlinmt::details::nthreads(), marlinmt::ConfigSection::parameter(), marlinmt::CmdLineParser::parse(), marlinmt::ConfigHelper::readConfig(), marlinmt::PluginManager::registerPlugin(), marlinmt::Extensions::remove(), marlinmt::ConfigSection::section(), marlinmt::Configuration::section(), marlinmt::ParameterImpl::set(), marlinmt::Component::setParameters(), marlinmt::ProcessorApi::setReturnValue(), marlinmt::details::split_string(), marlinmt::details::convert< T >::to_string(), marlinmt::GeometryManager::typeIndex(), and marlinmt::ConfigHelper::writeConfig().
#define MARLINMT_THROW_T | ( | ExceptionType, | |
message | |||
) | throw ExceptionType( __LINE__, __PRETTY_FUNCTION__, __FILE__, message ) |
Definition at line 9 of file Exceptions.h.
Referenced by marlinmt::XMLConfigReader::checkForNestedIncludes(), marlinmt::XMLConfigReader::getAttribute(), marlinmt::XMLConfigReader::parseExecuteSection(), marlinmt::XMLConfigReader::parseProcessorParameters(), marlinmt::XMLConfigReader::parseSection(), marlinmt::XMLConfigReader::processIncludeElement(), marlinmt::XMLConfigReader::read(), marlinmt::Configuration::replaceConstants(), and marlinmt::XMLConfigReader::replaceGroups().