Ice 3.7 C++11 API Reference
Public Member Functions | Static Public Member Functions | List of all members
Ice::UserException Class Reference

Base class for all Ice user exceptions. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::UserException:
Inheritance graph
[legend]
Collaboration diagram for Ice::UserException:
Collaboration graph
[legend]

Public Member Functions

std::unique_ptr< UserExceptionice_clone () const
 Polymorphically clones this exception. More...
 
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...
 
std::unique_ptr< Exceptionice_clone () const
 Returns a shallow polymorphic copy of this exception. More...
 
const char * ice_file () const
 Returns the name of the file where this exception was constructed. More...
 
virtual std::string ice_id () const =0
 Returns the type ID of this exception. More...
 
int ice_line () const
 Returns the line number where this exception was constructed. More...
 
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 void ice_throw () const =0
 Throws this exception. More...
 
virtual const char * what () const throw ()
 Returns a description of this exception. More...
 
virtual ~Exception ()=0 throw ()
 

Static Public Member Functions

static const std::string & ice_staticId ()
 Obtains the Slice type ID of this exception. More...
 

Detailed Description

Base class for all Ice user exceptions.

Member Function Documentation

◆ ice_clone()

std::unique_ptr<UserException> Ice::UserException::ice_clone ( ) const

Polymorphically clones this exception.

Returns
A shallow copy of this exception.

◆ ice_getSlicedData()

virtual Ice::SlicedDataPtr Ice::UserException::ice_getSlicedData ( ) const
virtual

◆ ice_staticId()

static const std::string& Ice::UserException::ice_staticId ( )
static

Obtains the Slice type ID of this exception.

Returns
The fully-scoped type ID.

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