OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::Exception Class Reference

Basic exception class to distinguish OpenXcom exceptions from the rest. More...

#include <Exception.h>

Inheritance diagram for OpenXcom::Exception:

Public Member Functions

 Exception (const std::string &msg) throw ()
 Creates an exception. More...
 
 ~Exception () throw ()
 Cleans up the exception.
 
const char * what () const throw ()
 Returns the exception message. More...
 

Detailed Description

Basic exception class to distinguish OpenXcom exceptions from the rest.

Constructor & Destructor Documentation

OpenXcom::Exception::Exception ( const std::string &  msg)
throw (
)

Creates an exception.

Creates a new exception.

Parameters
msgException message.

Member Function Documentation

const char * OpenXcom::Exception::what ( ) const
throw (
)

Returns the exception message.

Returns the message describing the exception that occurred.

Returns
Exception message.

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