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

The exception that is thrown when an attempt to create a new session fails. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for Glacier2::CannotCreateSessionException:

Public Member Functions

 CannotCreateSessionException () noexcept=default
 Default constructor.
 CannotCreateSessionException (const CannotCreateSessionException &) noexcept=default
 Copy constructor.
 CannotCreateSessionException (std::string reason) noexcept
 One-shot constructor to initialize all data members.
const char * ice_id () const noexcept override
 Returns the type ID of this exception.
void ice_printFields (std::ostream &os) const override
 Outputs the name and value of each field of this instance, including inherited fields, to the stream.
void ice_throw () const override
 Throws this exception.
std::tuple< const std::string & > ice_tuple () const
 Creates a tuple with all the fields of this exception.
Public Member Functions inherited from Ice::UserException
void ice_print (std::ostream &os) const override
 Outputs a description of this exception to a stream.
const char * what () const noexcept final
 Gets the Slice type ID of this user exception.
Public Member Functions inherited from Ice::Exception
 Exception () noexcept=default
 Default constructor.
 Exception (const Exception &other) noexcept=default
 Copy constructor.
Exceptionoperator= (const Exception &rhs) noexcept=default
 Copy assignment operator.

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice exception.

Public Attributes

std::string reason
 The reason why the session creation failed.

Detailed Description

The exception that is thrown when an attempt to create a new session fails.

Definition at line 788 of file Session.h.


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