template<class T, class FuncName>
Rodin::Scotch::Exception class

Exception type for errors reported by Scotch wrappers.

Template parameters
T Type of the object that raised the exception.
FuncName Type used to identify the member function.

Base classes

template<class T, class FuncName>
class Rodin::Alert::MemberFunctionException<T, FuncName>
Exception type for errors occurring in member functions.

Public types

using Parent = Alert::MemberFunctionException<T, FuncName>
Alias for the parent exception class.

Constructors, destructors, conversion operators

Exception(const char* msg, const T& cls, const FuncName& funcName)
Constructs an UnsafeAccessException.

Public functions

void raise() const override
Raises the exception.

Function documentation

template<class T, class FuncName>
Rodin::Scotch::Exception<T, FuncName>::Exception(const char* msg, const T& cls, const FuncName& funcName)

Constructs an UnsafeAccessException.

Parameters
msg Error message to display.
cls The object (resource) being accessed unsafely.
funcName The name of the member function where the unsafe access occurred.

Initializes the exception with the given object and function name.