Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

BoilerPlate::IllegalStateException Class Reference

#include <BPExceptions.h>

List of all members.


Detailed Description

Thrown if initialization occurs in the wrong order.

OrbInit has a simple state machine that makes sure that APIs get called in the right order. This exception is thrown if an operation is called in the wrong state

Parameters:
theMsg The std::string message


Public Member Functions

 IllegalStateException (std::string theMsg)
virtual const char * what () const throw ()
virtual ~IllegalStateException () throw ()
 dtor


Constructor & Destructor Documentation

BoilerPlate::IllegalStateException::IllegalStateException std::string  theMsg  )  [inline]
 

Initialize with a message. The only way to instantiate is with a message

Parameters:
theMsg - The std::string message

virtual BoilerPlate::IllegalStateException::~IllegalStateException  )  throw () [inline, virtual]
 

dtor


Member Function Documentation

virtual const char* BoilerPlate::IllegalStateException::what  )  const throw () [inline, virtual]
 

Get the message using the std::exception specification what is the std::exception specification for obtaining the message from an exception


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