Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

optional_invalid Class Reference

optional_invalid Class Reference
[list]

Invalid exception for optional. More...

#include <optional.h>

Inherits etl::optional_exception.

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

Invalid exception for optional.

Definition at line 87 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.