op_fatal_error Struct Reference

fatal exception, never catch it except at top level (likely main or gui). More...

#include <op_exception.h>

Inheritance diagram for op_fatal_error:
Inheritance graph
[legend]
Collaboration diagram for op_fatal_error:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 op_fatal_error (std::string const &msg)

Detailed Description

fatal exception, never catch it except at top level (likely main or gui).

Intended to replace cerr << "blah"; exit(EXIT_FAILURE); by a throw op_fatal_error("blah") when returning error code is not an option


Constructor & Destructor Documentation

op_fatal_error::op_fatal_error ( std::string const &  msg  )  [explicit]

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

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1