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

#include "NonNullViolation.h"

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

Public Member Functions

 NonNullViolation ()
 
const char *const type () const noexcept override
 A string describing the name of the exception class. More...
 
- Public Member Functions inherited from scl::exceptions::Exception
template<class T >
 Exception (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::Exception
const char *const _reason = ""
 The error message that comes with this Exception. More...
 

Detailed Description

Definition at line 6 of file NonNullViolation.h.

Constructor & Destructor Documentation

◆ NonNullViolation()

scl::exceptions::NonNullViolation::NonNullViolation ( )
inline

Definition at line 9 of file NonNullViolation.h.

Member Function Documentation

◆ type()

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

A string describing the name of the exception class.

Returns
the fully qualified name of this class

Reimplemented from scl::exceptions::Exception.

Definition at line 11 of file NonNullViolation.h.


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