|
Adobe Source Libraries 2.0.0
A collection of C++ libraries.
|
An exception class thrown during parsing failures. More...
#include <istream.hpp>
Public Types | |
| using | position_set_t |
Public Member Functions | |
| stream_error_t (const std::exception &base, const line_position_t &position) | |
| stream_error_t (const char *what, const line_position_t &position) | |
| stream_error_t (const std::string &what, const line_position_t &position) | |
| const position_set_t & | line_position_set () const |
| ~stream_error_t () | |
Definition at line 166 of file istream.hpp.
| using position_set_t |
Stores a vector of adobe::line_position_ts so the exception can be decoded to trace from where it originated.
Definition at line 168 of file istream.hpp.
| stream_error_t | ( | const std::exception & | base, |
| const line_position_t & | position ) |
Constructing from an arbitrary exception. It captures the value in base.what(). If base is a stream_error_t, it captures the line positions from the base exception.
| base | The base exception from which the what() string is captured |
| position | The stream information detailing position of failure. |
Definition at line 170 of file istream.hpp.
| stream_error_t | ( | const char * | what, |
| const line_position_t & | position ) |
| what | The string that is to become the what() parameter for this exception. |
| position | The stream information detailing position of failure. |
Definition at line 183 of file istream.hpp.
| stream_error_t | ( | const std::string & | what, |
| const line_position_t & | position ) |
| what | The string that is to become the what() parameter for this exception. |
| position | The stream information detailing position of failure. |
Definition at line 186 of file istream.hpp.
| ~stream_error_t | ( | ) |
Definition at line 192 of file istream.hpp.
| const position_set_t & line_position_set | ( | ) | const |
line_position_ts detailing the trace history of this exception. Definition at line 189 of file istream.hpp.