Exception
Exception type for errors reported by Scotch wrappers.
Defined in Rodin/Scotch/Exception.h
template < class T, class FuncName> class Exception;
| Template parameters | |
|---|---|
| T | Type of the object that raised the exception. |
| FuncName | Type used to identify the member function. |
↓
Exception
Inherits from
| Base class | Responsibility |
|---|---|
Alert::MemberFunctionException<T, …>publicFull typeAlert::MemberFunctionException< T, FuncName > | Exception type for errors occurring in member functions. |
Overrides
| Member | Base declaration |
|---|---|
raise() | MemberFunctionException::raise |
Inherited interface
| Declared in | Members |
|---|---|
Alert::Message | |
Alert::Exception | 1 members |
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
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.