![]() |
![]() |
|
|
#include <fastformat/exceptions.hpp>
Public Types | |
typedef fastformat_exception | parent_class_type |
Member Types. | |
typedef format_parsing_exception | class_type |
This type. | |
typedef parent_class_type::multibyte_string_type | message_string_type |
The multibyte string type. | |
typedef parent_class_type::string_type | string_type |
The string type. | |
Public Member Functions | |
format_parsing_exception (char const *message, ff_parse_code_t code, ff_char_t const *format) | |
Construction. | |
format_parsing_exception (char const *message, ff_parse_code_t code, ff_char_t const *format, size_t cchFormat) | |
Constructs an exception with the given message, code and format. | |
Public Attributes | |
const ff_parse_code_t | code |
Attributes. | |
const string_type | format |
The defective format. |
Member Types.
The parent exception class type
Reimplemented from fastformat_exception.
Reimplemented in illformed_format_exception.
typedef format_parsing_exception class_type |
The multibyte string type.
The string type.
Reimplemented from fastformat_exception.
Reimplemented in illformed_format_exception.
format_parsing_exception | ( | char const * | message, | |
ff_parse_code_t | code, | |||
ff_char_t const * | format | |||
) | [inline] |
Construction.
Constructs an exception with the given message, code and format
message | The message. May not be NULL | |
code | The code associated with the condition | |
format | The format that caused the condition |
format_parsing_exception | ( | char const * | message, | |
ff_parse_code_t | code, | |||
ff_char_t const * | format, | |||
size_t | cchFormat | |||
) | [inline] |
Constructs an exception with the given message, code and format.
message | The message. May not be NULL | |
code | The code associated with the condition | |
format | The format that caused the condition | |
cchFormat | The number of characters in the format |
const ff_parse_code_t code |
Attributes.
The code indicating the cause of the problem
const string_type format |
|
|
FastFormat Library documentation © Matthew Wilson, 2006-2009 |
|