Poco::BadCastException Class Reference

#include <Exception.h>

Inheritance diagram for Poco::BadCastException:

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

Collaboration graph
[legend]

Detailed Description

Definition at line 294 of file Exception.h.


Public Member Functions

 BadCastException (int code=0)
 BadCastException (const std::string &msg, int code=0)
 BadCastException (const std::string &msg, const std::string &arg, int code=0)
 BadCastException (const std::string &msg, const Poco::Exception &exc, int code=0)
 BadCastException (const BadCastException &exc)
 ~BadCastException () throw ()
BadCastExceptionoperator= (const BadCastException &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::BadCastException::BadCastException ( int  code = 0  ) 

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

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

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

Poco::BadCastException::BadCastException ( const BadCastException exc  ) 

Poco::BadCastException::~BadCastException (  )  throw ()


Member Function Documentation

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

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

Assignment operator.

Reimplemented from Poco::RuntimeException.

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

Returns a static string describing the exception.

Reimplemented from Poco::RuntimeException.

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

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

Reimplemented from Poco::RuntimeException.

void Poco::BadCastException::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::RuntimeException.


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

SourceForge.net Logo
Project space on SourceForge.net