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

Base class of all throwable objects. More...

#include "Throwable.h"

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

Public Member Functions

virtual const char *const reason () const
 Retrieve the reason. More...
 
virtual const char *const type () const noexcept=0
 The name of this Throwable type. More...
 

Detailed Description

Base class of all throwable objects.

Definition at line 15 of file Throwable.h.

Member Function Documentation

◆ reason()

virtual const char* const scl::exceptions::Throwable::reason ( ) const
inlinevirtual

Retrieve the reason.

Returns
the reason as a const char* const

Reimplemented in scl::exceptions::RuntimeException, and scl::exceptions::Exception.

Definition at line 20 of file Throwable.h.

◆ type()

virtual const char* const scl::exceptions::Throwable::type ( ) const
pure virtualnoexcept

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