Ice 3.7 C++11 API Reference
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for IceGrid::NodeUnreachableException:
Collaboration graph
[legend]

Public Member Functions

std::tuple< const ::std::string &, const ::std::string & > ice_tuple () const
 Obtains a tuple containing all of the exception's data members. More...
 
 NodeUnreachableException ()=default
 
 NodeUnreachableException (const ::std::string &name, const ::std::string &reason)
 One-shot constructor to initialize all data members. More...
 
 NodeUnreachableException (const NodeUnreachableException &)=default
 
virtual ~NodeUnreachableException ()
 
- Public Member Functions inherited from Ice::UserExceptionHelper< NodeUnreachableException, ::Ice::UserException >
virtual std::string ice_id () const override
 
- Public Member Functions inherited from IceUtil::ExceptionHelper< NodeUnreachableException, ::Ice::UserException >
std::unique_ptr< NodeUnreachableException > ice_clone () const
 
virtual void ice_throw () const override
 Throws this exception. More...
 
- Public Member Functions inherited from Ice::UserException
std::unique_ptr< UserExceptionice_clone () const
 Polymorphically clones this exception. More...
 
virtual Ice::SlicedDataPtr ice_getSlicedData () const
 
- Public Member Functions inherited from IceUtil::Exception
 Exception ()
 Constructs the exception. More...
 
 Exception (const char *file, int line)
 Constructs the exception. More...
 
std::unique_ptr< Exceptionice_clone () const
 Returns a shallow polymorphic copy of this exception. More...
 
const char * ice_file () const
 Returns the name of the file where this exception was constructed. More...
 
virtual std::string ice_id () const =0
 Returns the type ID of this exception. More...
 
int ice_line () const
 Returns the line number where this exception was constructed. More...
 
virtual void ice_print (std::ostream &os) const
 Outputs a description of this exception to a stream. More...
 
std::string ice_stackTrace () const
 Returns the stack trace at the point this exception was constructed. More...
 
virtual void ice_throw () const =0
 Throws this exception. More...
 
virtual const char * what () const throw ()
 Returns a description of this exception. More...
 
virtual ~Exception ()=0 throw ()
 

Static Public Member Functions

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

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ ~NodeUnreachableException()

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

◆ NodeUnreachableException() [1/3]

IceGrid::NodeUnreachableException::NodeUnreachableException ( const NodeUnreachableException )
default

◆ NodeUnreachableException() [2/3]

IceGrid::NodeUnreachableException::NodeUnreachableException ( )
default

◆ NodeUnreachableException() [3/3]

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

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.

Member Function Documentation

◆ ice_staticId()

static const ::std::string& IceGrid::NodeUnreachableException::ice_staticId ( )
static

Obtains the Slice type ID of this exception.

Returns
The fully-scoped type ID.

◆ ice_tuple()

std::tuple<const ::std::string&, const ::std::string&> IceGrid::NodeUnreachableException::ice_tuple ( ) const
inline

Obtains a tuple containing all of the exception's data members.

Returns
The data members in a tuple.

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: