vrj::InvalidSurfaceException Class Reference

The exception type thrown when the corners of a surface projection do not form a valid surface. More...

#include <vrj/Display/DisplayExceptions.h>

List of all members.

Public Member Functions

 InvalidSurfaceException (const std::string &msg) throw ()
virtual ~InvalidSurfaceException () throw ()
virtual const char * what () const throw ()

Protected Attributes

std::string mMessage


Detailed Description

The exception type thrown when the corners of a surface projection do not form a valid surface.

Since:
2.0.2

Definition at line 52 of file DisplayExceptions.h.


Constructor & Destructor Documentation

vrj::InvalidSurfaceException::InvalidSurfaceException ( const std::string &  msg  )  throw ()

Definition at line 35 of file DisplayExceptions.cpp.

00037    : std::exception()
00038    , mMessage(msg)
00039 {
00040    /* Do nothing. */ ;
00041 }

vrj::InvalidSurfaceException::~InvalidSurfaceException (  )  throw () [virtual]

Definition at line 43 of file DisplayExceptions.cpp.

00044 {
00045    /* Do nothing. */ ;
00046 }


Member Function Documentation

const char * vrj::InvalidSurfaceException::what (  )  const throw () [virtual]

Definition at line 48 of file DisplayExceptions.cpp.

References mMessage.

Referenced by vrj::SurfaceViewport::config().

00049 {
00050    return mMessage.c_str();
00051 }


Member Data Documentation

std::string vrj::InvalidSurfaceException::mMessage [protected]

Definition at line 62 of file DisplayExceptions.h.

Referenced by what().


The documentation for this class was generated from the following files:
Generated on Thu Jan 4 10:58:05 2007 for VR Juggler by  doxygen 1.5.1