Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
IceStorm::TopicExists Class Reference

This exception indicates that an attempt was made to create a topic that already exists. More...

#include <IceStorm/IceStorm.h>

Inheritance diagram for IceStorm::TopicExists:
Collaboration diagram for IceStorm::TopicExists:

Public Member Functions

std::tuple< const ::std::string & > ice_tuple () const
 Obtains a tuple containing all of the exception's data members.
 TopicExists ()=default
 TopicExists (const ::std::string &name)
 One-shot constructor to initialize all data members.
 TopicExists (const TopicExists &)=default
virtual ~TopicExists ()
Public Member Functions inherited from Ice::UserExceptionHelper< TopicExists, ::Ice::UserException >
virtual std::string ice_id () const override
Public Member Functions inherited from IceUtil::ExceptionHelper< TopicExists, ::Ice::UserException >
std::unique_ptr< TopicExists > ice_clone () const
virtual void ice_throw () const override
 Throws this exception.
Public Member Functions inherited from Ice::UserException
std::unique_ptr< UserException > ice_clone () const
 Polymorphically clones this exception.
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.
std::unique_ptr< Exceptionice_clone () const
 Returns a shallow polymorphic copy of this 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.
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

Static Public Member Functions

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

Public Attributes

::std::string name
 The name of the topic that already exists.

Detailed Description

This exception indicates that an attempt was made to create a topic that already exists.

Constructor & Destructor Documentation

◆ ~TopicExists()

virtual IceStorm::TopicExists::~TopicExists ( )
virtual

◆ TopicExists() [1/3]

IceStorm::TopicExists::TopicExists ( const TopicExists & )
default

◆ TopicExists() [2/3]

IceStorm::TopicExists::TopicExists ( )
default

◆ TopicExists() [3/3]

IceStorm::TopicExists::TopicExists ( const ::std::string & name)
inline

One-shot constructor to initialize all data members.

Parameters
nameThe name of the topic that already exists.

Member Function Documentation

◆ ice_staticId()

const ::std::string & IceStorm::TopicExists::ice_staticId ( )
static

Obtains the Slice type ID of this exception.

Returns
The fully-scoped type ID.

◆ ice_tuple()

std::tuple< const ::std::string & > IceStorm::TopicExists::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 IceStorm::TopicExists::name

The name of the topic that already exists.


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