Base class for all Ice exceptions not defined in Slice. More...
#include <Ice/Ice.h>
Public Member Functions | |
LocalException (const char *file, int line, std::string message) | |
Constructs a local exception. | |
const char * | ice_file () const noexcept |
Gets the name of the file where this exception was constructed. | |
const char * | ice_id () const noexcept override |
Returns the type ID of this exception. | |
int | ice_line () const noexcept |
Gets the line number where this exception was constructed. | |
void | ice_print (std::ostream &os) const final |
Outputs a description of this exception to a stream. | |
std::string | ice_stackTrace () const |
Gets the stack trace at the point this exception was constructed. | |
const char * | what () const noexcept final |
Gets the error message of this local Ice exception. | |
Public Member Functions inherited from Ice::Exception | |
Exception () noexcept=default | |
Default constructor. | |
Exception (const Exception &other) noexcept=default | |
Copy constructor. | |
Exception & | operator= (const Exception &rhs) noexcept=default |
Copy assignment operator. |
Static Public Member Functions | |
static void | ice_enableStackTraceCollection () |
Enables the collection of stack traces for exceptions. |
Base class for all Ice exceptions not defined in Slice.
Definition at line 16 of file LocalException.h.