Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::UserException Class Referenceabstract

Abstract base class for all Ice exceptions defined in Slice. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::UserException:

Public Member Functions

void ice_print (std::ostream &os) const override
 Outputs a description of this exception to a stream.
virtual void ice_printFields (std::ostream &os) const
 Outputs the name and value of each field of this instance, including inherited fields, to the stream.
virtual void ice_throw () const =0
 Throws this exception.
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.
virtual const char * ice_id () const noexcept=0
 Returns the type ID of this exception.
Exceptionoperator= (const Exception &rhs) noexcept=default
 Copy assignment operator.

Detailed Description

Abstract base class for all Ice exceptions defined in Slice.

Definition at line 15 of file UserException.h.


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