Public Member Functions

GridClientException Class Reference

#include <gridclientexception.hpp>

Inheritance diagram for GridClientException:
GridClientClosedException GridClientCommandException GridClientConnectionResetException GridClientFutureTimeoutException GridConnectionIdleClosedException GridServerUnreachableException

List of all members.

Public Member Functions

 GridClientException ()
 GridClientException (const std::string &what)
virtual const char * what () const throw ()
virtual clone_base const * clone () const
virtual void rethrow () const

Detailed Description

Basic class for all exceptions in client.


Constructor & Destructor Documentation

GridClientException::GridClientException (  )  [inline]

Default constructor.

GridClientException::GridClientException ( const std::string &  what  )  [inline]

Constructor of exception with message text.

Parameters:
what Exception text.

Member Function Documentation

virtual clone_base const* GridClientException::clone (  )  const [inline, virtual]

Clones this exception's instance.

This method is implemented to support rethrowing this exception from boost::packaged_task (which uses boost::current_exception()).

Returns:
A pointer to a newly created copy of this exception's instance. Needs to be deleted afterwards.

Reimplemented in GridClientClosedException.

virtual void GridClientException::rethrow (  )  const [inline, virtual]

Rethrows this exception.

Reimplemented in GridClientClosedException.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends