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

The exception that is thrown when a client is not allowed to create a session. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for Glacier2::PermissionDeniedException:

Public Member Functions

 PermissionDeniedException () noexcept=default
 Default constructor.
 PermissionDeniedException (const PermissionDeniedException &) noexcept=default
 Copy constructor.
 PermissionDeniedException (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 permission was denied.

Detailed Description

The exception that is thrown when a client is not allowed to create a session.

Definition at line 234 of file PermissionsVerifier.h.


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