Ice 3.7 C++11 API Reference
|
Helper template for the implementation of Ice::Exception. More...
#include <Ice/Ice.h>
Public Member Functions | |
std::unique_ptr< E > | ice_clone () const |
virtual void | ice_throw () const override |
Throws this exception. More... | |
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< Exception > | ice_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 const char * | what () const throw () |
Returns a description of this exception. More... | |
virtual | ~Exception ()=0 throw () |
Helper template for the implementation of Ice::Exception.
It implements ice_clone and ice_throw.
|
inline |
|
inlineoverridevirtual |
Throws this exception.
Implements IceUtil::Exception.
Reimplemented in IceUtil::ExceptionHelper< FileException, SyscallException >, and IceUtil::ExceptionHelper< SocketException, SyscallException >.