31#ifndef ETL_EXCEPTION_INCLUDED
32#define ETL_EXCEPTION_INCLUDED
36#if ETL_USING_STD_EXCEPTION
38 #define ETL_EXCEPTION_CONSTEXPR
39 #define ETL_EXCEPTION_OVERRIDE override
41 #define ETL_EXCEPTION_CONSTEXPR ETL_CONSTEXPR
42 #define ETL_EXCEPTION_OVERRIDE
56#if ETL_USING_STD_EXCEPTION
57 :
public std::exception
62 typedef const char* string_type;
63 typedef int numeric_type;
68#if defined(ETL_VERBOSE_ERRORS)
69 ETL_EXCEPTION_CONSTEXPR
70 exception(string_type reason_, string_type file_, numeric_type line_)
71 : reason_text(reason_)
76#elif defined(ETL_MINIMAL_ERRORS)
77 ETL_EXCEPTION_CONSTEXPR
78 exception(string_type , string_type , numeric_type ) {}
80 ETL_EXCEPTION_CONSTEXPR
81 exception(string_type reason_, string_type , numeric_type )
82 : reason_text(reason_)
91 ETL_EXCEPTION_CONSTEXPR
92 string_type
what() const ETL_NOEXCEPT ETL_EXCEPTION_OVERRIDE
94#if !defined(ETL_MINIMAL_ERRORS)
105 ETL_EXCEPTION_CONSTEXPR
108#if defined(ETL_VERBOSE_ERRORS)
119 ETL_EXCEPTION_CONSTEXPR
122#if defined(ETL_VERBOSE_ERRORS)
131#if !defined(ETL_MINIMAL_ERRORS)
132 string_type reason_text;
135#if defined(ETL_VERBOSE_ERRORS)
136 string_type file_text;
ETL_EXCEPTION_CONSTEXPR string_type what() const ETL_NOEXCEPT ETL_EXCEPTION_OVERRIDE
Definition exception.h:92
ETL_EXCEPTION_CONSTEXPR numeric_type line_number() const
Definition exception.h:120
ETL_EXCEPTION_CONSTEXPR string_type file_name() const
Definition exception.h:106
ETL_EXCEPTION_CONSTEXPR exception(string_type reason_, string_type, numeric_type)
Constructor.
Definition exception.h:81
bitset_ext
Definition absolute.h:40