GClasses
GClasses::Ex Class Reference

Detailed Description

The class of all exceptions thrown by this library A simple exception object that wraps a string message.

#include <GError.h>

Inheritance diagram for GClasses::Ex:

Public Types

typedef std::string s
 

Public Member Functions

 Ex (s a)
 
 Ex (s a, s b)
 
 Ex (s a, s b, s c)
 
 Ex (s a, s b, s c, s d)
 
 Ex (s a, s b, s c, s d, s e)
 
 Ex (s a, s b, s c, s d, s e, s f)
 
 Ex (s a, s b, s c, s d, s e, s f, s g)
 
 Ex (s a, s b, s c, s d, s e, s f, s g, s h)
 
 Ex (s a, s b, s c, s d, s e, s f, s g, s h, s i)
 
 Ex (s a, s b, s c, s d, s e, s f, s g, s h, s i, s j)
 
virtual ~Ex () throw ()
 
void setMessage (std::string message)
 Sets the message on the exception. (This method is called by all constructors of this object.) More...
 
virtual const char * what () const throw ()
 Returns the error message corresponding to this exception. More...
 

Protected Attributes

std::string m_message
 

Member Typedef Documentation

typedef std::string GClasses::Ex::s

Constructor & Destructor Documentation

GClasses::Ex::Ex ( s  a)
inline
GClasses::Ex::Ex ( s  a,
s  b 
)
inline
GClasses::Ex::Ex ( s  a,
s  b,
s  c 
)
inline
GClasses::Ex::Ex ( s  a,
s  b,
s  c,
s  d 
)
inline
GClasses::Ex::Ex ( s  a,
s  b,
s  c,
s  d,
s  e 
)
inline
GClasses::Ex::Ex ( s  a,
s  b,
s  c,
s  d,
s  e,
s  f 
)
inline
GClasses::Ex::Ex ( s  a,
s  b,
s  c,
s  d,
s  e,
s  f,
s  g 
)
inline
GClasses::Ex::Ex ( s  a,
s  b,
s  c,
s  d,
s  e,
s  f,
s  g,
s  h 
)
inline
GClasses::Ex::Ex ( s  a,
s  b,
s  c,
s  d,
s  e,
s  f,
s  g,
s  h,
s  i 
)
inline
GClasses::Ex::Ex ( s  a,
s  b,
s  c,
s  d,
s  e,
s  f,
s  g,
s  h,
s  i,
s  j 
)
inline
virtual GClasses::Ex::~Ex ( )
throw (
)
inlinevirtual

Member Function Documentation

void GClasses::Ex::setMessage ( std::string  message)

Sets the message on the exception. (This method is called by all constructors of this object.)

virtual const char* GClasses::Ex::what ( ) const
throw (
)
virtual

Returns the error message corresponding to this exception.

Member Data Documentation

std::string GClasses::Ex::m_message
protected