OIS::Exception Class Reference

#include <OISException.h>

List of all members.

Public Member Functions

 Exception (OIS_ERROR err, const char *str, int line, const char *file)
 Creates exception object.

Public Attributes

const OIS_ERROR eType
 The type of exception raised.
const int eLine
 The line number it occurred on.
const char * eFile
 The source file.
const char * eText
 A message passed along when the exception was raised.

Private Member Functions

 Exception ()
 Hidden default.


Detailed Description

Remarks:
Class for handling OIS exceptions. Much cleaner than checking every method for reurn value.

Definition at line 47 of file OISException.h.


Constructor & Destructor Documentation

OIS::Exception::Exception (  )  [inline, private]

Hidden default.

Definition at line 50 of file OISException.h.

OIS::Exception::Exception ( OIS_ERROR  err,
const char *  str,
int  line,
const char *  file 
) [inline]

Creates exception object.

Definition at line 53 of file OISException.h.


Member Data Documentation

const OIS_ERROR OIS::Exception::eType

The type of exception raised.

Definition at line 57 of file OISException.h.

const int OIS::Exception::eLine

The line number it occurred on.

Definition at line 59 of file OISException.h.

Referenced by main().

const char* OIS::Exception::eFile

The source file.

Definition at line 61 of file OISException.h.

Referenced by main().

const char* OIS::Exception::eText

A message passed along when the exception was raised.

Definition at line 63 of file OISException.h.

Referenced by main().


The documentation for this class was generated from the following file:
Generated on Sat Dec 1 20:13:54 2007 for OIS by  doxygen 1.5.4