Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
IceGrid::NodeUnreachableException Class Reference

This exception is raised if a node could not be reached. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::NodeUnreachableException:
Collaboration diagram for IceGrid::NodeUnreachableException:

Public Member Functions

virtual NodeUnreachableExceptionice_clone () const
 Polymorphically clones this exception.
virtual::std::string ice_id () const
 Obtains the Slice type ID of this exception.
virtual void ice_throw () const
 Throws this exception.
 NodeUnreachableException ()
 NodeUnreachableException (const ::std::string &name, const ::std::string &reason)
 One-shot constructor to initialize all data members.
virtual ~NodeUnreachableException () throw ()
Public Member Functions inherited from Ice::UserException
virtual Ice::SlicedDataPtr ice_getSlicedData () const
Public Member Functions inherited from IceUtil::Exception
 Exception ()
 Constructs the exception.
 Exception (const char *file, int line)
 Constructs the exception.
const char * ice_file () const
 Returns the name of the file where this exception was constructed.
int ice_line () const
 Returns the line number where this exception was constructed.
std::string ice_name () const
virtual void ice_print (std::ostream &os) const
 Outputs a description of this exception to a stream.
std::string ice_stackTrace () const
 Returns the stack trace at the point this exception was constructed.
virtual const char * what () const throw ()
 Returns a description of this exception.
virtual ~Exception () throw () =0

Public Attributes

::std::string name
 The name of the node that is not reachable.
::std::string reason
 The reason why the node couldn't be reached.

Additional Inherited Members

Static Public Member Functions inherited from Ice::UserException
static const std::string & ice_staticId ()
 Obtains the Slice type ID of this exception.

Detailed Description

This exception is raised if a node could not be reached.

Constructor & Destructor Documentation

◆ NodeUnreachableException() [1/2]

IceGrid::NodeUnreachableException::NodeUnreachableException ( )
inline

◆ NodeUnreachableException() [2/2]

IceGrid::NodeUnreachableException::NodeUnreachableException ( const ::std::string & name,
const ::std::string & reason )

One-shot constructor to initialize all data members.

Parameters
nameThe name of the node that is not reachable.
reasonThe reason why the node couldn't be reached.

◆ ~NodeUnreachableException()

virtual IceGrid::NodeUnreachableException::~NodeUnreachableException ( )
throw ( )
virtual

Member Function Documentation

◆ ice_clone()

virtual NodeUnreachableException * IceGrid::NodeUnreachableException::ice_clone ( ) const
virtual

Polymorphically clones this exception.

Returns
A shallow copy of this exception.

Implements Ice::UserException.

◆ ice_id()

virtual::std::string IceGrid::NodeUnreachableException::ice_id ( ) const
virtual

Obtains the Slice type ID of this exception.

Returns
The fully-scoped type ID.

Implements IceUtil::Exception.

◆ ice_throw()

virtual void IceGrid::NodeUnreachableException::ice_throw ( ) const
virtual

Throws this exception.

Implements IceUtil::Exception.

Member Data Documentation

◆ name

::std::string IceGrid::NodeUnreachableException::name

The name of the node that is not reachable.

◆ reason

::std::string IceGrid::NodeUnreachableException::reason

The reason why the node couldn't be reached.


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