- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages
- Examples

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# format_parsing_exception Class Reference

`#include <fastformat/exceptions.hpp>`

Inheritance diagram for format_parsing_exception:

List of all members.

## Detailed Description

Root class for all format parsing exceptions.

Note:
  This class is abstract

## Public Types
typedef fastformat_exception | parent_class_type
| The parent exception class type.
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)
| Constructs an exception with the given message, code and format.
| 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
| The code indicating the cause of the problem.
const string_type | format
| The defective format.

## Member Typedef Documentation

typedef fastformat_exception parent_class_type

The parent exception class type.

Reimplemented from fastformat_exception.

Reimplemented in illformed_format_exception.

typedef format_parsing_exception class_type

This type.

Reimplemented from fastformat_exception.

Reimplemented in illformed_format_exception.

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.

Reimplemented from fastformat_exception.

Reimplemented in illformed_format_exception.

## Constructor & Destructor Documentation

format_parsing_exception | ( | char const * | message,
|  | ff_parse_code_t | code,
|  | ff_char_t const * | format |
| ) |  |  | `[inline]`

Constructs an exception with the given message, code and format.

Parameters:

  | 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.

Parameters:

  | 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

## Member Data Documentation

const ff_parse_code_t code

The code indicating the cause of the problem.

const string_type format

The defective format.

Examples:
  examples/example.ff_101/example.ff_101.cpp.

The documentation for this class was generated from the following file:

- fastformat/exceptions.hpp

FastFormat Library documentation © Matthew Wilson, 2006-2009 |