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

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

#include <Ice/Ice.h>

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

Public Member Functions

 ExceptionHelper ()
 ExceptionHelper (const char *file, int line)
virtual void ice_throw () const
 Throws this exception.
Public Member Functions inherited from IceUtil::Exception
 Exception ()
 Constructs the exception.
 Exception (const char *file, int line)
 Constructs the exception.
virtual Exceptionice_clone () const =0
 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.
std::string ice_name () const
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>
class IceUtil::ExceptionHelper< E >

Helper template for the implementation of Ice::Exception.

It implements ice_throw.

Constructor & Destructor Documentation

◆ ExceptionHelper() [1/2]

template<typename E>
IceUtil::ExceptionHelper< E >::ExceptionHelper ( )
inline

◆ ExceptionHelper() [2/2]

template<typename E>
IceUtil::ExceptionHelper< E >::ExceptionHelper ( const char * file,
int line )
inline

Member Function Documentation

◆ ice_throw()

template<typename E>
virtual void IceUtil::ExceptionHelper< E >::ice_throw ( ) const
inlinevirtual

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