Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
IceUtil::ExceptionHelper< E, B > Class Template Reference

Helper template for the implementation of Ice::Exception. More...

#include <Ice/Ice.h>

Inheritance diagram for IceUtil::ExceptionHelper< E, B >:
Collaboration diagram for IceUtil::ExceptionHelper< E, B >:

Public Member Functions

std::unique_ptr< E > ice_clone () const
virtual void ice_throw () const override
 Throws this exception.
Public Member Functions inherited from IceUtil::Exception
 Exception ()
 Constructs the exception.
 Exception (const char *file, int line)
 Constructs the exception.
std::unique_ptr< Exceptionice_clone () const
 Returns a shallow polymorphic copy of this exception.
const char * ice_file () const
 Returns the name of the file where this exception was constructed.
virtual std::string ice_id () const =0
 Returns the type ID of this exception.
int ice_line () const
 Returns the line number where this exception was constructed.
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

Detailed Description

template<typename E, typename B = Exception>
class IceUtil::ExceptionHelper< E, B >

Helper template for the implementation of Ice::Exception.

It implements ice_clone and ice_throw.

Member Function Documentation

◆ ice_clone()

template<typename E, typename B = Exception>
std::unique_ptr< E > IceUtil::ExceptionHelper< E, B >::ice_clone ( ) const
inline

◆ ice_throw()

template<typename E, typename B = Exception>
virtual void IceUtil::ExceptionHelper< E, B >::ice_throw ( ) const
inlineoverridevirtual

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