12 #ifndef PLSSVM_BACKENDS_OPENMP_EXCEPTIONS_HPP_
13 #define PLSSVM_BACKENDS_OPENMP_EXCEPTIONS_HPP_
Base class for all custom exception types. Forwards its message to std::runtime_error and saves the e...
Definition: exceptions.hpp:29
const source_location & loc() const noexcept
Returns the information of the call side where the exception was thrown.
Exception type thrown if a problem with the OpenMP backend occurs.
Definition: exceptions.hpp:26
backend_exception(const std::string &msg, source_location loc=source_location::current())
Construct a new exception forwarding the exception message and source location to plssvm::exception.
The plssvm::source_location class represents certain information about the source code,...
Definition: source_location.hpp:25
static constexpr source_location current(const char *file_name=__builtin_FILE(), const char *function_name=__builtin_FUNCTION(), int line=__builtin_LINE(), int column=0) noexcept
Construct new source location information about the current call side.
Definition: source_location.hpp:35
Implements custom exception classes derived from std::runtime_error including source location informa...
Namespace containing the C-SVM using the OpenMP backend.
Definition: csvm.hpp:27
Implements a custom std::source_location implementation for C++17.