xoreos  0.0.5
Classes | Namespaces | Typedefs | Functions
error.h File Reference

Basic exceptions to throw. More...

#include <stack>
#include <exception>
#include "src/common/ustring.h"
Include dependency graph for error.h:

Go to the source code of this file.

Classes

class  Common::StackException
 Exception that provides a stack of explanations. More...
 

Namespaces

 Common
 

Typedefs

typedef StackException Common::Exception
 

Functions

void Common::printException (Exception &e, const UString &prefix="ERROR: ")
 Print a whole exception stack to stderr and the log. More...
 
void Common::exceptionDispatcherError (const char *s,...) GCC_PRINTF(1
 Exception dispatcher that prints the exception as an error, and adds another reason on top. More...
 
void Common::exceptionDispatcherError ()
 Exception dispatcher that prints the exception as an error. More...
 
void Common::exceptionDispatcherWarning (const char *s,...) GCC_PRINTF(1
 Exception dispatcher that prints the exception as a warning, and adds another reason on top. More...
 
void Common::exceptionDispatcherWarning ()
 Exception dispatcher that prints the exception as a warning. More...
 

Detailed Description

Basic exceptions to throw.

Definition in file error.h.