Ice 3.7 C++98 API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
IceGrid::ObjectExistsException Class Reference

This exception is raised if an object already exists. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::ObjectExistsException:
Inheritance graph
[legend]
Collaboration diagram for IceGrid::ObjectExistsException:
Collaboration graph
[legend]

Public Member Functions

virtual ObjectExistsExceptionice_clone () const
 Polymorphically clones this exception. More...
 
virtual ::std::string ice_id () const
 Obtains the Slice type ID of this exception. More...
 
virtual void ice_throw () const
 Throws this exception. More...
 
 ObjectExistsException ()
 
 ObjectExistsException (const ::Ice::Identity &id)
 One-shot constructor to initialize all data members. More...
 
virtual ~ObjectExistsException () 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. More...
 
 Exception (const char *file, int line)
 Constructs the exception. More...
 
const char * ice_file () const
 Returns the name of the file where this exception was constructed. More...
 
int ice_line () const
 Returns the line number where this exception was constructed. More...
 
std::string ice_name () const
 
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 const char * what () const throw ()
 Returns a description of this exception. More...
 
virtual ~Exception ()=0 throw ()
 

Public Attributes

::Ice::Identity id
 The identity of the object. More...
 

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. More...
 

Detailed Description

This exception is raised if an object already exists.

Constructor & Destructor Documentation

◆ ObjectExistsException() [1/2]

IceGrid::ObjectExistsException::ObjectExistsException ( )
inline

◆ ObjectExistsException() [2/2]

IceGrid::ObjectExistsException::ObjectExistsException ( const ::Ice::Identity id)
explicit

One-shot constructor to initialize all data members.

Parameters
idThe identity of the object.

◆ ~ObjectExistsException()

virtual IceGrid::ObjectExistsException::~ObjectExistsException ( )
throw (
)
virtual

Member Function Documentation

◆ ice_clone()

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

Polymorphically clones this exception.

Returns
A shallow copy of this exception.

Implements Ice::UserException.

◆ ice_id()

virtual ::std::string IceGrid::ObjectExistsException::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::ObjectExistsException::ice_throw ( ) const
virtual

Throws this exception.

Implements IceUtil::Exception.

Member Data Documentation

◆ id

::Ice::Identity IceGrid::ObjectExistsException::id

The identity of the object.


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