Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
Glacier2::CannotCreateSessionException Class Reference

This exception is raised if an attempt to create a new session failed. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for Glacier2::CannotCreateSessionException:
Collaboration diagram for Glacier2::CannotCreateSessionException:

Public Member Functions

 CannotCreateSessionException ()
 CannotCreateSessionException (const ::std::string &reason)
 One-shot constructor to initialize all data members.
virtual CannotCreateSessionExceptionice_clone () const
 Polymorphically clones this exception.
virtual::Ice::SlicedDataPtr ice_getSlicedData () const
 Obtains the SlicedData object created when an unknown exception type was marshaled in the sliced format and the Ice run time sliced it to a known type.
virtual::std::string ice_id () const
 Obtains the Slice type ID of this exception.
virtual void ice_throw () const
 Throws this exception.
virtual ~CannotCreateSessionException () throw ()
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 reason
 The reason why session creation has failed.

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 an attempt to create a new session failed.

Constructor & Destructor Documentation

◆ CannotCreateSessionException() [1/2]

Glacier2::CannotCreateSessionException::CannotCreateSessionException ( )
inline

◆ CannotCreateSessionException() [2/2]

Glacier2::CannotCreateSessionException::CannotCreateSessionException ( const ::std::string & reason)
explicit

One-shot constructor to initialize all data members.

Parameters
reasonThe reason why session creation has failed.

◆ ~CannotCreateSessionException()

virtual Glacier2::CannotCreateSessionException::~CannotCreateSessionException ( )
throw ( )
virtual

Member Function Documentation

◆ ice_clone()

virtual CannotCreateSessionException * Glacier2::CannotCreateSessionException::ice_clone ( ) const
virtual

Polymorphically clones this exception.

Returns
A shallow copy of this exception.

Implements Ice::UserException.

◆ ice_getSlicedData()

virtual::Ice::SlicedDataPtr Glacier2::CannotCreateSessionException::ice_getSlicedData ( ) const
virtual

Obtains the SlicedData object created when an unknown exception type was marshaled in the sliced format and the Ice run time sliced it to a known type.

Returns
The SlicedData object, or nil if the exception was not sliced or was not marshaled in the sliced format.

Reimplemented from Ice::UserException.

◆ ice_id()

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

Throws this exception.

Implements IceUtil::Exception.

Member Data Documentation

◆ reason

::std::string Glacier2::CannotCreateSessionException::reason

The reason why session creation has failed.


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