xvr2::InvalidParameter Class Reference

#include <xvr2/CoreExceptions.h>

Inheritance diagram for xvr2::InvalidParameter:

Inheritance graph
[legend]

List of all members.


Detailed Description

This exception is thrown whenever you call a system call with an invalid parameter.

Definition at line 23 of file InvalidParameterException.h.


Public Member Functions

 InvalidParameter ()
 Default constructor.
 InvalidParameter (const String &_param_name)
 Use this constructor to specify the name of the faulty parameter.
const Stringparam ()
 Returns the name of the faulty parameter.
std::string toString ()
 Displays the description of the exception.
const char * backtrace ()
virtual const char * getClassName ()
 Returns the name of the current class.

Static Public Member Functions

static void enable ()
static void disable ()
static void debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__)
 Will print a debug message to the screen.
static void debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__)

Protected Member Functions

virtual void dumpTrace ()

Protected Attributes

std::string description
 Stores the exception's description as a string.
std::string __cls_name

Private Attributes

String param_name

Friends

std::ostream & operator<< (std::ostream &stream, const Object &s)

Constructor & Destructor Documentation

xvr2::InvalidParameter::InvalidParameter (  ) 

Default constructor.

xvr2::InvalidParameter::InvalidParameter ( const String _param_name  ) 

Use this constructor to specify the name of the faulty parameter.


Member Function Documentation

const String& xvr2::InvalidParameter::param (  ) 

Returns the name of the faulty parameter.

std::string xvr2::Exception::toString (  )  [virtual, inherited]

Displays the description of the exception.

Reimplemented from xvr2::Object.

virtual void xvr2::ExceptionTracer::dumpTrace (  )  [protected, virtual, inherited]

static void xvr2::ExceptionTracer::enable (  )  [static, inherited]

static void xvr2::ExceptionTracer::disable (  )  [static, inherited]

const char* xvr2::ExceptionTracer::backtrace (  )  [inherited]

virtual const char* xvr2::Object::getClassName (  )  [virtual, inherited]

Returns the name of the current class.

static void xvr2::Object::debugmsg ( Object obj,
const char *  msg,
int  linenumber = __LINE__,
const char *  srcfile = __FILE__ 
) [static, inherited]

Will print a debug message to the screen.

static void xvr2::Object::debugmsgln ( Object obj,
const char *  msg,
int  linenumber = __LINE__,
const char *  srcfile = __FILE__ 
) [static, inherited]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Object s 
) [friend, inherited]


Member Data Documentation

Definition at line 25 of file InvalidParameterException.h.

std::string xvr2::Exception::description [protected, inherited]

Stores the exception's description as a string.

Definition at line 29 of file CoreExceptions.h.

std::string xvr2::Object::__cls_name [protected, inherited]

Definition at line 30 of file Object.h.


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

Generated on Fri Jun 20 22:55:54 2008 for X-VR2 SDK by  doxygen 1.5.5