Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
IceUtil::OptionalNotSetException Class Reference

This exception indicates an IceUtil::Optional is not set. More...

#include <Ice/Ice.h>

Inheritance diagram for IceUtil::OptionalNotSetException:
Collaboration diagram for IceUtil::OptionalNotSetException:

Public Member Functions

virtual std::string ice_id () const
 Returns the type ID of this exception.
 OptionalNotSetException (const char *, int)
Public Member Functions inherited from IceUtil::ExceptionHelper< OptionalNotSetException >
std::unique_ptr< OptionalNotSetExceptionice_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.
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

This exception indicates an IceUtil::Optional is not set.

Used only by the Slice to C++98 mapping.

Constructor & Destructor Documentation

◆ OptionalNotSetException()

IceUtil::OptionalNotSetException::OptionalNotSetException ( const char * ,
int  )

Member Function Documentation

◆ ice_id()

virtual std::string IceUtil::OptionalNotSetException::ice_id ( ) const
virtual

Returns the type ID of this exception.

This corresponds to the Slice type ID for Slice-defined exceptions, and to a similar fully scoped name for other exceptions. For example "::IceUtil::SyscallException".

Returns
The type ID of this exception

Implements IceUtil::Exception.


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