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

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

# FUErrorSimpleHandler Class Reference
[Utility Classes.]

This class is used as an example of error-handling. More...

`#include <FUError.h>`

List of all members.

## Public Member Functions
| FUErrorSimpleHandler (FUError::Level fatalLevel=FUError::ERROR_LEVEL)
| Constructor.
| ~FUErrorSimpleHandler ()
| Destructor.
const char * | GetErrorString () const
| Retrieves the complete error string.
bool | IsSuccessful () const
| Retrieves whether the process was successful.

## Detailed Description

This class is used as an example of error-handling.

It simply retrieves and concatenates the english error strings.

## Constructor & Destructor Documentation

FUErrorSimpleHandler::FUErrorSimpleHandler | ( | FUError::Level | fatalLevel = `FUError::ERROR_LEVEL` | ) |

  | Constructor. Parameters:
  | fatalLevel | The minimum error level which will cause the simple handler to consider the process to be a failure.

## Member Function Documentation

const char* FUErrorSimpleHandler::GetErrorString | ( |  | ) | const`[inline]`

| Retrieves the complete error string. The complete error string is the concatenation of all the indivual errors encountered. See also: FUError::GetErrorString Returns: The complete error string.

bool FUErrorSimpleHandler::IsSuccessful | ( |  | ) | const`[inline]`

| Retrieves whether the process was successful. Returns: Whether the process was successful.

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

- FUtils/FUError.h