Poco::RangeException Class Reference

#include <Exception.h>

Inheritance diagram for Poco::RangeException:

Inheritance graph
[legend]
Collaboration diagram for Poco::RangeException:

Collaboration graph
[legend]

Detailed Description

Definition at line 255 of file Exception.h.


Public Member Functions

 RangeException (int code=0)
 RangeException (const std::string &msg, int code=0)
 RangeException (const std::string &msg, const std::string &arg, int code=0)
 RangeException (const std::string &msg, const Poco::Exception &exc, int code=0)
 RangeException (const RangeException &exc)
 ~RangeException () throw ()
RangeExceptionoperator= (const RangeException &exc)
const char * name () const throw ()
 Assignment operator.
const char * className () const throw ()
 Returns a static string describing the exception.
Poco::Exceptionclone () const
 Returns a string consisting of the message name and the message text.
void rethrow () const
 Creates an exact copy of the exception.

Constructor & Destructor Documentation

Poco::RangeException::RangeException ( int  code = 0  ) 

Poco::RangeException::RangeException ( const std::string &  msg,
int  code = 0 
)

Poco::RangeException::RangeException ( const std::string &  msg,
const std::string &  arg,
int  code = 0 
)

Poco::RangeException::RangeException ( const std::string &  msg,
const Poco::Exception exc,
int  code = 0 
)

Poco::RangeException::RangeException ( const RangeException exc  ) 

Poco::RangeException::~RangeException (  )  throw ()


Member Function Documentation

RangeException& Poco::RangeException::operator= ( const RangeException exc  ) 

const char* Poco::RangeException::name (  )  const throw () [virtual]

Assignment operator.

Reimplemented from Poco::LogicException.

const char* Poco::RangeException::className (  )  const throw () [virtual]

Returns a static string describing the exception.

Reimplemented from Poco::LogicException.

Poco::Exception* Poco::RangeException::clone (  )  const [virtual]

Returns a string consisting of the message name and the message text.

Reimplemented from Poco::LogicException.

void Poco::RangeException::rethrow (  )  const [virtual]

Creates an exact copy of the exception.

The copy can later be thrown again by invoking rethrow() on it.

Reimplemented from Poco::LogicException.


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

SourceForge.net Logo
Project space on SourceForge.net