Support Class Library
A set of tools providing classes and utility
Public Member Functions | List of all members
scl::exceptions::UninitializedMemoryAccess Struct Reference

Exception class used when trying to access uninitialized memory. More...

#include "UninitializedMemoryAccess.h"

Inheritance diagram for scl::exceptions::UninitializedMemoryAccess:
Inheritance graph
[legend]
Collaboration diagram for scl::exceptions::UninitializedMemoryAccess:
Collaboration graph
[legend]

Public Member Functions

 UninitializedMemoryAccess ()
 
const char *const type () const noexcept override
 A string describing the name of the exception class. More...
 
- Public Member Functions inherited from scl::exceptions::RuntimeException
template<class T >
 RuntimeException (T &&reason)
 Construct an scl::exceptions::Exception from an error message. More...
 
const char *const reason () const override
 Retrieve the reason. More...
 
const char * what () const noexcept override
 Override that uses the user defined reason. More...
 

Additional Inherited Members

- Protected Attributes inherited from scl::exceptions::RuntimeException
const char *const _reason = ""
 The error message that comes with this Exception. More...
 

Detailed Description

Exception class used when trying to access uninitialized memory.

Definition at line 9 of file UninitializedMemoryAccess.h.

Constructor & Destructor Documentation

◆ UninitializedMemoryAccess()

scl::exceptions::UninitializedMemoryAccess::UninitializedMemoryAccess ( )
inline

Definition at line 12 of file UninitializedMemoryAccess.h.

Member Function Documentation

◆ type()

const char* const scl::exceptions::UninitializedMemoryAccess::type ( ) const
inlineoverridevirtualnoexcept

A string describing the name of the exception class.

Returns
the fully qualified name of this class

Reimplemented from scl::exceptions::RuntimeException.

Definition at line 15 of file UninitializedMemoryAccess.h.


The documentation for this struct was generated from the following file: