Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

string_exception Class Reference

string_exception Class Reference

Exception base for strings. More...

#include <basic_string.h>

Inherits etl::exception.

Inherited by string_empty, string_iterator, and string_out_of_bounds.

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 base for strings.

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