Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

optional_exception Class Reference

optional_exception Class Reference
[list]

Exception for optional. More...

#include <optional.h>

Inherits etl::exception.

Inherited by optional_invalid.

Public Member Functions

string_type what () const
 Gets the reason for the exception.
string_type file_name () const
 Gets the file for the exception.
numeric_type line_number () const
 Gets the line for the exception.

Detailed Description

Exception for optional.

Definition at line 73 of file optional.h.


Member Function Documentation

string_type file_name (  ) const [inherited]

Gets the file for the exception.

Returns:
const char* to the file.

Definition at line 89 of file exception.h.

numeric_type line_number (  ) const [inherited]

Gets the line for the exception.

Returns:
const char* to the line.

Definition at line 102 of file exception.h.

string_type what (  ) const [inherited]

Gets the reason for the exception.

Returns:
const char* to the reason.

Definition at line 79 of file exception.h.