Base class for all Ice run-time exceptions.
More...
#include <Ice/Ice.h>
|
| std::unique_ptr< LocalException > | ice_clone () const |
| | Polymorphically clones this exception.
|
| | LocalException (const char *file, int line) |
| | The file and line number are required for all local exceptions.
|
| virtual | ~LocalException () throw () |
| | Exception () |
| | Constructs the exception.
|
| | Exception (const char *file, int line) |
| | Constructs the exception.
|
| std::unique_ptr< Exception > | ice_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 void | ice_throw () const =0 |
| | Throws this exception.
|
| virtual const char * | what () const throw () |
| | Returns a description of this exception.
|
| virtual | ~Exception () throw () =0 |
|
| static const std::string & | ice_staticId () |
| | Obtains the Slice type ID of this exception.
|
Base class for all Ice run-time exceptions.
◆ LocalException()
| Ice::LocalException::LocalException |
( |
const char * | file, |
|
|
int | line ) |
The file and line number are required for all local exceptions.
- Parameters
-
| file | The file name in which the exception was raised, typically __FILE__. |
| line | The line number at which the exception was raised, typically __LINE__. |
◆ ~LocalException()
| virtual Ice::LocalException::~LocalException |
( |
| ) |
|
| throw | ( | ) | | | |
|
virtual |
◆ ice_clone()
| std::unique_ptr< LocalException > Ice::LocalException::ice_clone |
( |
| ) |
const |
Polymorphically clones this exception.
- Returns
- A shallow copy of this exception.
◆ ice_staticId()
| const std::string & Ice::LocalException::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: