OpenStudioCore:utilities
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#include "Exception.hpp"

Inheritance diagram for openstudio::Exception:

Public Member Functions

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

Detailed Description

Base class for exceptions.

Constructor & Destructor Documentation

openstudio::Exception::Exception ( const std::string &  msg)
inline

Constructor takes a message.

openstudio::Exception::Exception ( const char *  msg)
inline

Needed for rb_raise support in swig.

virtual openstudio::Exception::~Exception ( )
throw (
)
inlinevirtual

virtual destructor, no throw

Member Function Documentation

virtual const std::string& openstudio::Exception::message ( ) const
inlinevirtual

return the message

virtual const char* openstudio::Exception::what ( ) const
throw (
)
inlinevirtual

return the message